aboutsummaryrefslogtreecommitdiff
path: root/pixelmappers
diff options
context:
space:
mode:
Diffstat (limited to 'pixelmappers')
-rw-r--r--pixelmappers/SimpleMapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixelmappers/SimpleMapper.py b/pixelmappers/SimpleMapper.py
index bc51cf9..5d4dceb 100644
--- a/pixelmappers/SimpleMapper.py
+++ b/pixelmappers/SimpleMapper.py
@@ -23,7 +23,7 @@ class SimpleMapper(PixelMapper):
#optimizations possible. This might be slow in the long run
if pixelValid:
ret.append((pixel, 1))
- except:
+ except Exception as exp:
raise Exception('Bad event condition')
return ret