Skip to content

Commit

Permalink
env var string not bool
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptingislife committed Feb 5, 2020
1 parent 014dd14 commit 1ccadf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def log_scan(db_data):

log_env = "unknown"

if "CI" in os.environ and os.environ.get("CI") == True:
if "CI" in os.environ and os.environ.get("CI") == "true":
log_env = "test"
else:
log_env = "production"
Expand Down

0 comments on commit 1ccadf4

Please sign in to comment.