Commit 93085e37 authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

better check

parent feb3e7b7
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment