Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Feb 15, 2024
1 parent 3677b94 commit 4f91d53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sentry_sdk/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from datetime import datetime, timedelta
from functools import wraps

from sentry_sdk.consts import FALSE_VALUES
from sentry_sdk._types import TYPE_CHECKING

if TYPE_CHECKING:
Expand Down Expand Up @@ -160,7 +159,10 @@ def check_uwsgi_thread_support():
except ImportError:
return True

from sentry_sdk.consts import FALSE_VALUES

def enabled(option):
# type: (str) -> bool
value = opt.get(option, False)
if isinstance(value, bool):
return value
Expand Down

0 comments on commit 4f91d53

Please sign in to comment.