Skip to content
Snippets Groups Projects
Commit 9d2d387f authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

provide configfile environment variable

parent 59c432de
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,7 @@ configfile:
shell.executable("bash")
# custom configuration file
CUSTOM_CONFIG_PATH = "conf/userconfig.imp.json"
CUSTOM_CONFIG_PATH = os.environ.get("CONFIGFILE", "conf/userconfig.imp.json")
# merge 2 configurations files together
if os.path.exists(CUSTOM_CONFIG_PATH):
with open(CUSTOM_CONFIG_PATH, 'r') as rhandle:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment