We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently there are a bunch of lines like
NexusDashboard/app/__init__.py
Lines 233 to 236 in 2e4bd04
app/__init__.py
Given that os.getenv returns either the default or a string and
os.getenv
$ python3 >>> bool("") False >>> bool("1") True >>> bool("0") True >>> bool("True") True >>> bool("False") True
this may not be the best way to parse boolean type values, because an if on just the value may cause unituitive configuration.
if
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently there are a bunch of lines like
NexusDashboard/app/__init__.py
Lines 233 to 236 in 2e4bd04
in
app/__init__.py
Given that
os.getenv
returns either the default or a string andthis may not be the best way to parse boolean type values, because an
if
on just the value may cause unituitive configuration.The text was updated successfully, but these errors were encountered: