X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/62d5191553d75c84d63ace49f6f5173a35773c88..0adb475173e22229c0eb5c6c79b8a8488894b7c9:/src/app/eventutils.py diff --git a/src/app/eventutils.py b/src/app/eventutils.py index 3ce142d..f95a828 100755 --- a/src/app/eventutils.py +++ b/src/app/eventutils.py @@ -62,7 +62,8 @@ class _EventDispatcher : events = pygame.event.get() for event in events : listeners = self.registry.get(event.type, {}) - if listeners and not hiddenEvents.has_key(event.type) : + if not hiddenEvents.has_key(event.type): + #if listeners and not hiddenEvents.has_key(event.type) : eventLog.info(pprinters[event.type](event)) for listener in listeners.keys() : listener(event)