[core/event] Remove debug output

This commit is contained in:
tobi-wan-kenobi 2020-04-04 13:57:54 +02:00
parent a6eb6c3a11
commit 7547537c81

View file

@ -4,7 +4,6 @@ __callbacks = {}
def register(event, callback, *args, **kwargs):
cb = callback
if len(args) + len(kwargs) > 0:
print("registering lambda: {} {}".format(len(args), len(kwargs)))
cb = lambda: callback(*args, **kwargs)
__callbacks.setdefault(event, []).append(cb)