From 906e279f2245613a699fb9cb174c28f42adf6f4b Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Thu, 6 Aug 2020 00:38:29 +0530 Subject: resolved issue with byte array object --- src/ngspice_ghdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ngspice_ghdl.py') 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')) -- cgit