From 60f301882da9aa06faba7c3c2b1b9fe2b9f39f17 Mon Sep 17 00:00:00 2001 From: nilshah98 Date: Tue, 28 May 2019 12:24:11 +0530 Subject: ngspiceSimulation made pep8 compliant --- src/ngspiceSimulation/NgspiceWidget.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/ngspiceSimulation/NgspiceWidget.py') diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 1d19199e..52427681 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -22,12 +22,16 @@ class NgspiceWidget(QtGui.QWidget): if platform.system() == 'Linux': self.command = "cd " + projPath + ";ngspice " + command # Creating argument for process - #self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command] + # self.args = ['-into', str(self.terminal.winId()),\ + # '-hold','-e', self.command] self.args = ['-hold', '-e', self.command] self.process.start('xterm', self.args) self.obj_appconfig.process_obj.append(self.process) - self.obj_appconfig.proc_dict[self.obj_appconfig.current_project['ProjectName']].append( - self.process.pid()) + ( + self.obj_appconfig.proc_dict + [self.obj_appconfig.current_project['ProjectName']].append( + self.process.pid()) + ) elif platform.system() == 'Windows': tempdir = os.getcwd() -- cgit