Fix: Use event strings, not names for all_events

Temporarily broke event registration by frontend, this should fix it again.
This commit is contained in:
Gina Häußge 2014-09-19 16:11:44 +02:00
parent d5edec2cd0
commit 3ca0458d65

View file

@ -20,7 +20,7 @@ _instance = None
def all_events():
return [name for name in Events.__dict__ if not name.startswith("__")]
return [getattr(Events, name) for name in Events.__dict__ if not name.startswith("__")]
class Events(object):