This commit is contained in:
Jakub Trllo 2022-08-05 10:08:07 +02:00
parent cf42e8fa44
commit 08a9cb2073

View file

@ -57,7 +57,7 @@ def deprecated(new_destination):
stacklevel=4
)
return decorated_func(*args, **kwargs)
return wrapper-
return wrapper
if func is None:
return _decorator