Skip to content

Conversation

@kaypee90
Copy link
Contributor

resolves #50

@mjhea0 mjhea0 merged commit 5ebc9ed into testdrivenio:master Jul 20, 2023
@954-Ivory
Copy link

954-Ivory commented Aug 19, 2023

Please review this PR.

This PR is error.
When we set the DEBUG=0 in envs file, we will get a str type: '0'.

bool(os.environ.get("DEBUG", '0')) # This will be True

So, we need change it to:

bool(int(os.environ.get("DEBUG", default=0)))

#50 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug Flag as bool

3 participants