Skip to content

Commit

Permalink
fix: deprecated decorator wasn't returning the value of the moved cal…
Browse files Browse the repository at this point in the history
…lable.

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed May 11, 2023
1 parent e3dcf28 commit 43cf12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/utils/coding_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def wrapper(*args, **kwargs):
f"The method or function {func.__name__} is deprecated and it is expected to be sunset in version {version}. Please, switch to using {inspect.getmodule(alternative).__name__}:{alternative.__name__} to suppress this warning."
)

func(*args, **kwargs)
return func(*args, **kwargs)

return wrapper

Expand Down

0 comments on commit 43cf12e

Please sign in to comment.