summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/NgspiceWidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 52f6b87d..ad93bbbe 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -52,8 +52,8 @@ class NgspiceWidget(QtWidgets.QWidget):
self.process.pid())
)
self.process = QtCore.QProcess(self)
- self.process = QtCore.QProcess(self)
- self.command ="ngspice -b -r " + command.replace(".cir.out",".raw") + \
- " -o " + command.replace(".cir.out",".out") + " " + command + \
- "; gaw " + command.replace(".cir.out",".raw")
- self.process.start('sh', ['-c', self.command])
+ self.command = "ngspice -b -r " + \
+ command.replace(".cir.out" , ".raw") + " -o " \
+ + command.replace(".cir.out" , ".out") + " " + command + \
+ "; gaw " + command.replace(".cir.out" , ".raw")
+ self.process.start('sh' , ['-c' , self.command])