Skip to content

Commit 2ee3c83

Browse files
authored
fix: fix psygnal version parsing (#532)
1 parent b74a28f commit 2ee3c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/magicgui/schema/_guiclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def events(self) -> SignalGroup: ...
4444
F = TypeVar("F", bound=Callable)
4545

4646

47-
if psygnal_version.split(".")[:3] < ["0", "7", "3"]:
47+
if psygnal_version.split(".")[:2] < ["0", "8"]:
4848
_IGNORE_REF_ERR = {}
4949
else:
5050
_IGNORE_REF_ERR = {"on_ref_error": "ignore"}

0 commit comments

Comments
 (0)