From bf07e364301752cbc8ee6e41839c6506b09ea792 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 14 Jan 2019 17:36:17 +0300 Subject: [PATCH] Integration of the "23658: [CEA] Patch for YamsPlugDialog.py for Windows platform" issue. --- src/Tools/YamsPlug/monYamsPlugDialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tools/YamsPlug/monYamsPlugDialog.py b/src/Tools/YamsPlug/monYamsPlugDialog.py index a28ca5129..4aac5cf7c 100644 --- a/src/Tools/YamsPlug/monYamsPlugDialog.py +++ b/src/Tools/YamsPlug/monYamsPlugDialog.py @@ -522,7 +522,7 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget): self.commande+= " -O G" # This option has not been updated to the new option style yet deb=os.path.splitext(self.fichierIn) - self.fichierOut=deb[0].decode() + "_output.mesh" + self.fichierOut=deb[0] + "_output.mesh" tolerance=self.SP_toStr(self.SP_Tolerance) if not self.RB_Absolute.isChecked(): @@ -540,7 +540,7 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget): if self.SP_Memory.value() != 0 : self.commande+=" --max_memory %d" %self.SP_Memory.value() if self.SP_Verbosity.value() != 3 : self.commande+=" --verbose %d" %self.SP_Verbosity.value() - self.commande+=" --in " + self.fichierIn.decode() + self.commande+=" --in " + self.fichierIn self.commande+=" --out " + self.fichierOut print(self.commande) -- 2.39.2