diff options
Diffstat (limited to 'src/ngspice_ghdl.py')
-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')) |