return method

This commit is contained in:
Zachy authored and GitHub committed 2018-08-15 20:53:13 +01:00
1 parent 6d6a592f07
commit 409c619eb0
1 file changed
+1
+1
View File
@@ -193,6 +193,7 @@ class Connection(object):
""" """
def _method_func(method): def _method_func(method):
self.register_packet_listener(method, *packet_types, **kwds) self.register_packet_listener(method, *packet_types, **kwds)
return method
return _method_func return _method_func