summaryrefslogtreecommitdiff
path: root/src/maker/Appconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/maker/Appconfig.py')
-rwxr-xr-xsrc/maker/Appconfig.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/maker/Appconfig.py b/src/maker/Appconfig.py
index 45d28e62..06758898 100755
--- a/src/maker/Appconfig.py
+++ b/src/maker/Appconfig.py
@@ -3,7 +3,11 @@ from configparser import ConfigParser
class Appconfig:
- home = os.path.expanduser("~")
+ if os.name == 'nt':
+ home = os.path.join('library', 'config')
+ else:
+ home = os.path.expanduser('~')
+
# Reading all variables from eSim config.ini
parser_esim = ConfigParser()
parser_esim.read(os.path.join(home, os.path.join('.esim', 'config.ini')))