We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e228ed2 + c98a285 commit 524fbb5Copy full SHA for 524fbb5
1 file changed
kazoo/python2atexit.py
@@ -45,7 +45,7 @@ def register(func, *targs, **kargs):
45
func is returned to facilitate usage as a decorator.
46
"""
47
if hasattr(atexit, "unregister"):
48
- atexit.register(func, targs, kargs)
+ atexit.register(func, *targs, **kargs)
49
else:
50
_exithandlers.append((func, targs, kargs))
51
return func
0 commit comments