summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav P2023-05-24 17:34:49 +0530
committerPranav P2023-05-24 17:34:49 +0530
commit86ddc4e9de1b957df7839be17c80643131dbd9ff (patch)
treef6f9179d2339240fd4e3c47022f7fe3460e9e0c6
parent64d0d1771b0bc41710897860d7a395d8f5fb4600 (diff)
downloadeSim-86ddc4e9de1b957df7839be17c80643131dbd9ff.tar.gz
eSim-86ddc4e9de1b957df7839be17c80643131dbd9ff.tar.bz2
eSim-86ddc4e9de1b957df7839be17c80643131dbd9ff.zip
Removed an unnecessary errorFlag
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 0c431470..2c3b00f1 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -27,7 +27,6 @@ class NgspiceWidget(QtWidgets.QWidget):
self.terminalUi.setupUi(self.terminal)
self.layout = QtWidgets.QVBoxLayout(self)
self.layout.addWidget(self.terminal)
- self.errorFlag = False
print("Argument to ngspice command : ", command)
@@ -101,8 +100,6 @@ class NgspiceWidget(QtWidgets.QWidget):
str(self.process.readAllStandardOutput().data(), encoding='utf-8')
)
stderror = self.process.readAllStandardError()
- if stderror.toUpper().contains(b"ERROR"):
- self.errorFlag = True
self.terminalUi.simulationConsole.insertPlainText(
str(stderror.data(), encoding='utf-8')
) \ No newline at end of file