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