From 41c149e3586ba7191205fbfef397305ef18f318d Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Thu, 18 Jun 2015 01:23:16 +0200 Subject: [PATCH] Fixed wrong order of arguments --- gui.py | 2 +- photobooth.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui.py b/gui.py index b976e88..1d37d11 100644 --- a/gui.py +++ b/gui.py @@ -137,7 +137,7 @@ class GUI_PyGame: # Store screen and 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 self.clear() diff --git a/photobooth.py b/photobooth.py index 96daba1..d183d2e 100755 --- a/photobooth.py +++ b/photobooth.py @@ -255,7 +255,7 @@ class Photobooth: ################# 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) photobooth.run() photobooth.teardown()