From 65b30f865b348f3d2e019495d460c57ab6d0ab54 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Fri, 8 Jul 2016 11:37:47 +0200 Subject: [PATCH] Fix crash when launching SurfOpt plugin with Qt5. --- src/Tools/YamsPlug/monViewText.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2