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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 5d493a42..27e180ac 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -41,7 +41,7 @@ class NgspiceWidget(QtWidgets.QWidget):
else: # For Linux OS
self.command = "cd " + projPath + \
- ";ngspice -r " + command.replace(".cir.out",".raw") + \
+ ";ngspice -r " + command.replace(".cir.out", ".raw") + \
" " + command
# Creating argument for process
self.args = ['-hold', '-e', self.command]
@@ -54,6 +54,6 @@ class NgspiceWidget(QtWidgets.QWidget):
self.process.pid())
)
self.process = QtCore.QProcess(self)
- self.command ="gaw " + command.replace(".cir.out",".raw")
+ self.command ="gaw " + command.replace(".cir.out", ".raw")
self.process.start('sh', ['-c', self.command])
print(self.command)