Fixed wrong order of arguments

This commit is contained in:
Balthasar Reuter committed 2015-06-18 01:23:16 +02:00
1 parent eb7f846727
commit 41c149e358
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ class GUI_PyGame:
# Store screen and size # Store screen and size
self.size = size self.size = size
self.screen = pygame.display.set_mode(self.size, pygame.FULLSCREEN) self.screen = pygame.display.set_mode(size, pygame.FULLSCREEN)
# Clear screen # Clear screen
self.clear() self.clear()
+1 -1
View File
@@ -255,7 +255,7 @@ class Photobooth:
################# #################
def main(): def main():
photobooth = Photobooth(picture_basename, display_size, image_size, pose_time, display_time, photobooth = Photobooth(display_size, picture_basename, image_size, pose_time, display_time,
gpio_trigger_channel, gpio_shutdown_channel, gpio_lamp_channel) gpio_trigger_channel, gpio_shutdown_channel, gpio_lamp_channel)
photobooth.run() photobooth.run()
photobooth.teardown() photobooth.teardown()