X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FYamsPlug%2FmonViewText.py;h=84d640e8edd2a6d72930499690540ed107418f83;hb=5f978fc962178e3f82703e49604309ee1939f806;hp=3109bfe8aad4c8ac3de005f910636ea4d3712bfb;hpb=8a9d91b414c3f26586dea735c22c7700898a0a1e;p=modules%2Fsmesh.git diff --git a/src/Tools/YamsPlug/monViewText.py b/src/Tools/YamsPlug/monViewText.py index 3109bfe8a..84d640e8e 100644 --- a/src/Tools/YamsPlug/monViewText.py +++ b/src/Tools/YamsPlug/monViewText.py @@ -107,11 +107,12 @@ class MonViewText(Ui_ViewExe, QDialog): def readFromStdErr(self): a=self.monExe.readAllStandardError() - self.TB_Exe.append(str(a.data().encode())) + aa=a.data().decode(errors='ignore') + self.TB_Exe.append(aa) def readFromStdOut(self) : a=self.monExe.readAllStandardOutput() - aa=str(a.data()) + aa=a.data().decode(errors='ignore') self.TB_Exe.append(aa) def finished(self):