Skip to content

Commit 3df7789

Browse files
committed
fix return in check_dependency
1 parent a465205 commit 3df7789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fooof/core/modutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,6 @@ def wrapped_func(*args, **kwargs):
177177
if not dep:
178178
raise ImportError("Optional FOOOF dependency " + name + \
179179
" is required for this functionality.")
180-
func(*args, **kwargs)
180+
return func(*args, **kwargs)
181181
return wrapped_func
182182
return wrap

0 commit comments

Comments
 (0)