Fixed indentation

This commit is contained in:
Brandon Rozek 2020-05-21 10:58:08 -04:00
parent 3d7c09645c
commit 6b750e4c1d

View file

@ -59,9 +59,9 @@ class Application:
def subscribe(func):
self.callbacks[event].append(func)
return func
if func is None:
if func is None:
return subscribe
subscribe(func)
subscribe(func)
def emit(self, event, message):
for callback in self.callbacks[event]:
callback(message)