diff options
author | rahulp13 | 2022-02-22 00:59:17 +0530 |
---|---|---|
committer | rahulp13 | 2022-02-22 00:59:17 +0530 |
commit | faadcb72916d269aeabbaa23f799962b6b99c45c (patch) | |
tree | d9c996c20bcb9703d95d7ea5ae54436387089d4f /src/maker/Appconfig.py | |
parent | ac1244c8275f5a43ea513b1c9af8c66044811ccc (diff) | |
download | eSim-faadcb72916d269aeabbaa23f799962b6b99c45c.tar.gz eSim-faadcb72916d269aeabbaa23f799962b6b99c45c.tar.bz2 eSim-faadcb72916d269aeabbaa23f799962b6b99c45c.zip |
Replaced SafeConfigParser alias with ConfigParser
Diffstat (limited to 'src/maker/Appconfig.py')
-rwxr-xr-x | src/maker/Appconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/maker/Appconfig.py b/src/maker/Appconfig.py index efeac75a..45d28e62 100755 --- a/src/maker/Appconfig.py +++ b/src/maker/Appconfig.py @@ -1,11 +1,11 @@ import os.path -from configparser import SafeConfigParser +from configparser import ConfigParser class Appconfig: home = os.path.expanduser("~") # Reading all variables from eSim config.ini - parser_esim = SafeConfigParser() + parser_esim = ConfigParser() parser_esim.read(os.path.join(home, os.path.join('.esim', 'config.ini'))) try: src_home = parser_esim.get('eSim', 'eSim_HOME') @@ -16,7 +16,7 @@ class Appconfig: esimFlag = 0 # Reading all variables from ngveri config.ini - # parser_ngveri = SafeConfigParser() + # parser_ngveri = ConfigParser() # parser_ngveri.read(os.path.join(home, # os.path.join('.ngveri', 'config.ini'))) |