Salome HOME
Fix crash when launching SurfOpt plugin with Qt5.
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Fri, 8 Jul 2016 09:37:47 +0000 (11:37 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Fri, 8 Jul 2016 09:37:47 +0000 (11:37 +0200)
src/Tools/YamsPlug/monViewText.py

index 426467ef4351d3380656ef528ee70de52fc34016..45115e68dfdcac3239f33184f93351e92fb1e196 100644 (file)
@@ -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()