🐛 Fix file API
Was broken when debug logging was disabled due to timeThis decorator.
This commit is contained in:
1 parent
e74721c07a
commit
46a6c58d49
1 file changed
+1
-1
@@ -1914,7 +1914,7 @@ def time_this(
|
||||
|
||||
@wraps(f)
|
||||
def wrapper(*args, **kwargs):
|
||||
data = {"func": func}
|
||||
data = {"func": func, "func_args": "?", "func_kwargs": "?"}
|
||||
if incl_func_args and logger.isEnabledFor(logging.DEBUG):
|
||||
data.update(
|
||||
func_args=",".join(map(repr, args)),
|
||||
|
||||
Reference in new issue
Block a user