]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for '16926 [CEA 16749] MeshCut Python encoding issue' issue
authorrnv <rnv@opencascade.com>
Tue, 14 May 2019 13:54:09 +0000 (16:54 +0300)
committerrnv <rnv@opencascade.com>
Tue, 14 May 2019 13:54:09 +0000 (16:54 +0300)
src/Tools/MeshCut/meshcut_plugin.py

index 0d06e5804ada3d6bbc4ec2ac5a59261ad39fc443..1aac3b4b70e181de198338e1dd73fac606a3711a 100644 (file)
@@ -51,7 +51,7 @@ def MeshCut(context):
         self.ui.le_origMeshFile.setText(infile)
         insplit = os.path.splitext(str(infile).encode())
         outfile = insplit[0] + '_cut'.encode() + insplit[1]
-        self.ui.le_cutMeshFile.setText(outfile)
+        self.ui.le_cutMeshFile.setText(outfile.decode())
       pass
     
     def setOutputFile(self):