diff options
Diffstat (limited to 'olpcgames/camera.py')
-rw-r--r--[-rwxr-xr-x] | olpcgames/camera.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/olpcgames/camera.py b/olpcgames/camera.py index 249f295..d4d1175 100755..100644 --- a/olpcgames/camera.py +++ b/olpcgames/camera.py @@ -13,7 +13,6 @@ Activity demonstrating usage: import threading, subprocess import logging import olpcgames -import time import os import pygame from olpcgames.util import get_activity_root @@ -127,7 +126,7 @@ class Camera(object): finally: try: os.remove( filename ) - except (IOError,OSError), err: + except (IOError,OSError): pass def snap_async( self, token=None ): """Snap a picture asynchronously generating event on success/failure |