Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Jan 9, 2025
1 parent e37fd6e commit d16a497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/integrations/sanic.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def setup_once():
# https://github.com/huge-success/sanic/issues/1332
ignore_logger("root")

if SanicIntegration.version < (21, 9):
if SanicIntegration.version is not None and SanicIntegration.version < (21, 9):
_setup_legacy_sanic()
return

Expand Down

0 comments on commit d16a497

Please sign in to comment.