Skip to content

Commit

Permalink
fix return in check_dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 1, 2022
1 parent a465205 commit 3df7789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fooof/core/modutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ def wrapped_func(*args, **kwargs):
if not dep:
raise ImportError("Optional FOOOF dependency " + name + \
" is required for this functionality.")
func(*args, **kwargs)
return func(*args, **kwargs)
return wrapped_func
return wrap

0 comments on commit 3df7789

Please sign in to comment.