Commit d4b84f70 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix URL for windows

parent 6bd81ed3
import os
import sys
import re
import inspect
from pathlib import Path
......@@ -25,7 +26,7 @@ class AppConfigReader:
os.path.join(str(Path.home()), ".dgenies", "application.properties")]
if os.name == "nt":
config_file.insert(1, "../application.properties")
config_file.insert(1, os.path.join(sys.executable, '..', "application.properties"))
for my_config_file in config_file_search:
if os.path.exists(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