summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ngspice_ghdl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngspice_ghdl.py b/src/ngspice_ghdl.py
index 9ae499d..56dd79a 100755
--- a/src/ngspice_ghdl.py
+++ b/src/ngspice_ghdl.py
@@ -248,7 +248,7 @@ class Mainwindow(QtWidgets.QWidget):
str(self.process.readAllStandardOutput().data(), encoding='utf-8')
)
stderror = self.process.readAllStandardError()
- if stderror.toUpper().contains("ERROR"):
+ if stderror.toUpper().contains(b"ERROR"):
self.errorFlag = True
self.termedit.append(str(stderror.data(), encoding='utf-8'))