summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index ad93bbbe..c068d0de 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -53,7 +53,7 @@ class NgspiceWidget(QtWidgets.QWidget):
)
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])
+ 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])