From: Christophe Bourcier Date: Fri, 8 Jul 2016 09:37:47 +0000 (+0200) Subject: Fix crash when launching SurfOpt plugin with Qt5. X-Git-Tag: V8_1_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65b30f865b348f3d2e019495d460c57ab6d0ab54;p=modules%2Fsmesh.git Fix crash when launching SurfOpt plugin with Qt5. --- diff --git a/src/Tools/YamsPlug/monViewText.py b/src/Tools/YamsPlug/monViewText.py index 426467ef4..45115e68d 100644 --- a/src/Tools/YamsPlug/monViewText.py +++ b/src/Tools/YamsPlug/monViewText.py @@ -108,7 +108,7 @@ class MonViewText(Ui_ViewExe, QDialog): def readFromStdOut(self) : a=self.monExe.readAllStandardOutput() - aa=unicode(a.data(),len(a)) + aa=unicode(a.data()) self.TB_Exe.append(aa) if "END_OF_MGSurfOpt" in aa: self.parent().enregistreResultat()