Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
39f40f2
)
Fix error in SurfOpt plugin caused by a decode() unneeded
author
Christophe Bourcier
<christophe.bourcier@cea.fr>
Tue, 8 Jan 2019 14:15:24 +0000
(15:15 +0100)
committer
vsr
<vsr@opencascade.com>
Fri, 8 Feb 2019 11:19:30 +0000
(14:19 +0300)
src/Tools/YamsPlug/monYamsPlugDialog.py
patch
|
blob
|
history
diff --git
a/src/Tools/YamsPlug/monYamsPlugDialog.py
b/src/Tools/YamsPlug/monYamsPlugDialog.py
index a28ca512995c3c46d9028b0faf0d158bf1283b0e..4aac5cf7c28cfd89d9532fe5d37049272ec55901 100644
(file)
--- 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.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():
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()
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)
self.commande+=" --out " + self.fichierOut
print(self.commande)