Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
93085e37
Commit
93085e37
authored
Aug 10, 2021
by
Martino Bertoni
🌋
Browse files
better check
parent
feb3e7b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
package/chemicalchecker/util/config/config.py
View file @
93085e37
...
...
@@ -46,7 +46,7 @@ class Config():
A Config instance is loaded from a JSON file.
"""
if
not
json_file
:
if
json_file
is
None
:
try
:
json_file
=
os
.
environ
[
"CC_CONFIG"
]
except
KeyError
as
err
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment