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.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 27e180ac..ba4f9bca 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -41,8 +41,8 @@ class NgspiceWidget(QtWidgets.QWidget):
else: # For Linux OS
self.command = "cd " + projPath + \
- ";ngspice -r " + command.replace(".cir.out", ".raw") + \
- " " + command
+ ";ngspice -r " + command.replace(".cir.out", ".raw") + \
+ " " + command
# Creating argument for process
self.args = ['-hold', '-e', self.command]
self.process.start('xterm', self.args)
@@ -52,8 +52,8 @@ class NgspiceWidget(QtWidgets.QWidget):
self.obj_appconfig.proc_dict
[self.obj_appconfig.current_project['ProjectName']].append(
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)