Commit 6bd81ed3 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add app config file path for windows

parent c090bc99
......@@ -24,6 +24,9 @@ class AppConfigReader:
"/etc/dgenies/application.properties.local",
os.path.join(str(Path.home()), ".dgenies", "application.properties")]
if os.name == "nt":
config_file.insert(1, "../application.properties")
for my_config_file in config_file_search:
if os.path.exists(my_config_file):
config_file.append(my_config_file)
......
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