diff options
author | rahulp13 | 2020-08-06 00:38:29 +0530 |
---|---|---|
committer | rahulp13 | 2020-08-06 00:38:29 +0530 |
commit | 906e279f2245613a699fb9cb174c28f42adf6f4b (patch) | |
tree | c99f0dcfd570c44ddd7e7b45744ecee444f16e11 | |
parent | 570bc95f225ac80c81405a40a29ef90ca5442fc5 (diff) | |
download | nghdl-906e279f2245613a699fb9cb174c28f42adf6f4b.tar.gz nghdl-906e279f2245613a699fb9cb174c28f42adf6f4b.tar.bz2 nghdl-906e279f2245613a699fb9cb174c28f42adf6f4b.zip |
resolved issue with byte array object
-rwxr-xr-x | src/ngspice_ghdl.py | 2 |
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')) |