Skip to content

Commit

Permalink
add attribute error to magicgui.__getattr__ (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jan 24, 2021
1 parent d13a829 commit 3d1d3b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions magicgui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ def __getattr__(name: str):
)

return FunctionGui
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

0 comments on commit 3d1d3b0

Please sign in to comment.