summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation
diff options
context:
space:
mode:
authorrahulp132020-08-03 12:48:56 +0530
committerrahulp132020-08-03 12:48:56 +0530
commita236dc440e2242cc9b0005befb56c84980a4ca47 (patch)
tree69d0b076218d0db7d44c5927f1a76b25752cd249 /src/ngspiceSimulation
parent816e3663300c26bc0591070496b154ff96393860 (diff)
downloadeSim-a236dc440e2242cc9b0005befb56c84980a4ca47.tar.gz
eSim-a236dc440e2242cc9b0005befb56c84980a4ca47.tar.bz2
eSim-a236dc440e2242cc9b0005befb56c84980a4ca47.zip
replaced deprecated SafeConfigParser with ConfigParser
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 32991884..ea64893b 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -1,6 +1,6 @@
from PyQt5 import QtWidgets, QtCore
from configuration.Appconfig import Appconfig
-from configparser import SafeConfigParser
+from configparser import ConfigParser
import os
@@ -25,7 +25,7 @@ class NgspiceWidget(QtWidgets.QWidget):
if os.name == 'nt': # For Windows OS
home = os.path.expanduser("~")
- parser_nghdl = SafeConfigParser()
+ parser_nghdl = ConfigParser()
parser_nghdl.read(os.path.join(
home, os.path.join('.nghdl', 'config.ini')))