mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-02-23 10:31:23 +00:00
Fixed indentation
This commit is contained in:
parent
3d7c09645c
commit
6b750e4c1d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue