summaryrefslogtreecommitdiff
path: root/src/maker/Appconfig.py
diff options
context:
space:
mode:
authorrahulp132022-02-22 00:59:17 +0530
committerrahulp132022-02-22 00:59:17 +0530
commitfaadcb72916d269aeabbaa23f799962b6b99c45c (patch)
treed9c996c20bcb9703d95d7ea5ae54436387089d4f /src/maker/Appconfig.py
parentac1244c8275f5a43ea513b1c9af8c66044811ccc (diff)
downloadeSim-faadcb72916d269aeabbaa23f799962b6b99c45c.tar.gz
eSim-faadcb72916d269aeabbaa23f799962b6b99c45c.tar.bz2
eSim-faadcb72916d269aeabbaa23f799962b6b99c45c.zip
Replaced SafeConfigParser alias with ConfigParser
Diffstat (limited to 'src/maker/Appconfig.py')
-rwxr-xr-xsrc/maker/Appconfig.py6
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')))