summaryrefslogtreecommitdiff
path: root/src/configuration
diff options
context:
space:
mode:
authorrahulp132020-08-03 12:48:56 +0530
committerrahulp132020-08-03 12:48:56 +0530
commita236dc440e2242cc9b0005befb56c84980a4ca47 (patch)
tree69d0b076218d0db7d44c5927f1a76b25752cd249 /src/configuration
parent816e3663300c26bc0591070496b154ff96393860 (diff)
downloadeSim-a236dc440e2242cc9b0005befb56c84980a4ca47.tar.gz
eSim-a236dc440e2242cc9b0005befb56c84980a4ca47.tar.bz2
eSim-a236dc440e2242cc9b0005befb56c84980a4ca47.zip
replaced deprecated SafeConfigParser with ConfigParser
Diffstat (limited to 'src/configuration')
-rw-r--r--src/configuration/Appconfig.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py
index 94abb44c..96514f85 100644
--- a/src/configuration/Appconfig.py
+++ b/src/configuration/Appconfig.py
@@ -13,13 +13,13 @@
# MODIFIED: Rahul Paknikar, rahulp@iitb.ac.in
# ORGANIZATION: eSim Team at FOSSEE, IIT Bombay
# CREATED: Tuesday 24 February 2015
-# REVISION: Saturday 25 July 2020
+# REVISION: Sunday 02 August 2020
# =========================================================================
from PyQt5 import QtWidgets
import os
import json
-from configparser import SafeConfigParser
+from configparser import ConfigParser
class Appconfig(QtWidgets.QWidget):
@@ -63,7 +63,7 @@ class Appconfig(QtWidgets.QWidget):
noteArea = {"Note": []}
- parser_esim = SafeConfigParser()
+ parser_esim = ConfigParser()
parser_esim.read(
os.path.join(
os.path.expanduser("~"),
@@ -100,10 +100,12 @@ class Appconfig(QtWidgets.QWidget):
def __init__(self):
super(Appconfig, self).__init__()
+
# Application Details
self._APPLICATION = 'eSim'
- self._VERSION = 'v2.1.0'
- self._AUTHOR = 'Fahim, Rahul'
+ self._VERSION = '2.1'
+ self._AUTHOR = 'Fahim'
+ self._REVISION = 'Rahul'
# Application geometry setting
self._app_xpos = 100