summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/NgspiceWidget.py
diff options
context:
space:
mode:
authornilshah982019-05-28 12:24:11 +0530
committernilshah982019-06-07 11:03:16 +0530
commit60f301882da9aa06faba7c3c2b1b9fe2b9f39f17 (patch)
tree22b69cc87ec0ce0d06dc7138e8842ee74452f35a /src/ngspiceSimulation/NgspiceWidget.py
parent818c3f2d43914940ba3cdf580c5a6f26a8200834 (diff)
downloadeSim-60f301882da9aa06faba7c3c2b1b9fe2b9f39f17.tar.gz
eSim-60f301882da9aa06faba7c3c2b1b9fe2b9f39f17.tar.bz2
eSim-60f301882da9aa06faba7c3c2b1b9fe2b9f39f17.zip
ngspiceSimulation made pep8 compliant
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py10
1 files changed, 7 insertions, 3 deletions
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()