Skip to content

Commit d16a497

Browse files
committed
mypy
1 parent e37fd6e commit d16a497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/sanic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def setup_once():
9696
# https://github.com/huge-success/sanic/issues/1332
9797
ignore_logger("root")
9898

99-
if SanicIntegration.version < (21, 9):
99+
if SanicIntegration.version is not None and SanicIntegration.version < (21, 9):
100100
_setup_legacy_sanic()
101101
return
102102

0 commit comments

Comments
 (0)