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:
parent
d5edec2cd0
commit
3ca0458d65
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue