[core/event] Remove debug output
This commit is contained in:
parent
a6eb6c3a11
commit
7547537c81
1 changed files with 0 additions and 1 deletions
|
@ -4,7 +4,6 @@ __callbacks = {}
|
||||||
def register(event, callback, *args, **kwargs):
|
def register(event, callback, *args, **kwargs):
|
||||||
cb = callback
|
cb = callback
|
||||||
if len(args) + len(kwargs) > 0:
|
if len(args) + len(kwargs) > 0:
|
||||||
print("registering lambda: {} {}".format(len(args), len(kwargs)))
|
|
||||||
cb = lambda: callback(*args, **kwargs)
|
cb = lambda: callback(*args, **kwargs)
|
||||||
|
|
||||||
__callbacks.setdefault(event, []).append(cb)
|
__callbacks.setdefault(event, []).append(cb)
|
||||||
|
|
Loading…
Reference in a new issue