Skip to content

Commit

Permalink
🐛 Fix test for agama detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilikecubesnstuff committed Jan 14, 2024
1 parent de5504a commit 786f2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pidgey/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def get_backend_from(obj):
if isinstance(obj, _Sequence) and len(obj) > 0:
obj = obj[0]
module = _inspect.getmodule(obj)
module = _inspect.getmodule(obj) or _inspect.getmodule(type(obj))
if module is None:
return None

Expand Down

0 comments on commit 786f2a5

Please sign in to comment.