Fixed wrong order of arguments

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

2
gui.py
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()

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()