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:
1 parent
d5edec2cd0
commit
3ca0458d65
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user