summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrahulp132020-08-06 00:38:29 +0530
committerrahulp132020-08-06 00:38:29 +0530
commit906e279f2245613a699fb9cb174c28f42adf6f4b (patch)
treec99f0dcfd570c44ddd7e7b45744ecee444f16e11
parent570bc95f225ac80c81405a40a29ef90ca5442fc5 (diff)
downloadnghdl-906e279f2245613a699fb9cb174c28f42adf6f4b.tar.gz
nghdl-906e279f2245613a699fb9cb174c28f42adf6f4b.tar.bz2
nghdl-906e279f2245613a699fb9cb174c28f42adf6f4b.zip
resolved issue with byte array object
-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'))