Skip to content

Commit

Permalink
Update sentry_sdk/scope.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ivana Kellyerova <[email protected]>
  • Loading branch information
antonpirker and sentrivana committed Jun 21, 2023
1 parent 1243c44 commit 3fe8b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def _load_trace_data_from_env(self):
sentry_use_environment = (
os.environ.get("SENTRY_USE_ENVIRONMENT") or ""
).lower()
use_environment = False if sentry_use_environment in false_values else True
use_environment = sentry_use_environment not in false_values
if use_environment:
incoming_trace_information = {}

Expand Down

0 comments on commit 3fe8b83

Please sign in to comment.