summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumanto Kar2022-05-02 20:16:30 +0530
committerEyantra698Sumanto2022-05-02 20:29:14 +0530
commit08d06a49db0742e56d73a7e10a01acdd466bb85b (patch)
tree2da82c4028e300e79a721dff5865347cd2ff66c4
parent4412deaefad7ab9170b44d441b825c5d87ed1dff (diff)
downloadeSim-08d06a49db0742e56d73a7e10a01acdd466bb85b.tar.gz
eSim-08d06a49db0742e56d73a7e10a01acdd466bb85b.tar.bz2
eSim-08d06a49db0742e56d73a7e10a01acdd466bb85b.zip
Fixed Pep8 issues
-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)