Commit 9911b234 authored by Yuxin Wu's avatar Yuxin Wu

bugfix of last commit.

parent 260936ff
...@@ -162,7 +162,7 @@ def call_only_once(func): ...@@ -162,7 +162,7 @@ def call_only_once(func):
type(self).__name__, func.__name__) type(self).__name__, func.__name__)
_FUNC_CALLED.add(key) _FUNC_CALLED.add(key)
func(*args, **kwargs) return func(*args, **kwargs)
return wrapper return wrapper
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment