From 6ab1f6f196e0018271b86fc1a68e2752e65c42af Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Wed, 1 Jul 2015 00:54:46 +0200 Subject: [PATCH] Debug output removed --- photobooth.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/photobooth.py b/photobooth.py index f9083904..d91b6cf3 100755 --- a/photobooth.py +++ b/photobooth.py @@ -318,8 +318,7 @@ def take_picture(self): remaining_attempts = 0 except CameraException as e: # On recoverable errors: display message and retry - #if e.recoverable: - print remaining_attempts + if e.recoverable: if remaining_attempts > 0: self.display.clear() self.display.show_message(e.message) @@ -327,8 +326,8 @@ def take_picture(self): sleep(5) else: raise CameraException("Giving up! Please start over!", False) - #else: - # raise e + else: + raise e # Sleep for a little bit if necessary toc = clock() - tic