From 570bc95f225ac80c81405a40a29ef90ca5442fc5 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Thu, 6 Aug 2020 00:36:46 +0530 Subject: replaced deprecated SafeConfigParser with ConfigParser --- src/ngspice_ghdl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ngspice_ghdl.py b/src/ngspice_ghdl.py index 3a89ea1..9ae499d 100755 --- a/src/ngspice_ghdl.py +++ b/src/ngspice_ghdl.py @@ -7,7 +7,7 @@ import sys import shutil import subprocess from PyQt5 import QtGui, QtCore, QtWidgets -from configparser import SafeConfigParser +from configparser import ConfigParser from Appconfig import Appconfig from createKicadLibrary import AutoSchematic from model_generation import ModelGeneration @@ -22,7 +22,7 @@ class Mainwindow(QtWidgets.QWidget): self.home = os.path.expanduser("~") # Reading all variables from config.ini - self.parser = SafeConfigParser() + self.parser = ConfigParser() self.parser.read( os.path.join(self.home, os.path.join('.nghdl', 'config.ini')) ) -- cgit