From 78502f0a8c7afe8ff4d18f0067a4d894c66aef68 Mon Sep 17 00:00:00 2001 From: mpa Date: Wed, 8 Feb 2017 12:47:28 +0300 Subject: [PATCH] code improvement --- src/GEOM_SWIG/PAL_MESH_028_geometry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOM_SWIG/PAL_MESH_028_geometry.py b/src/GEOM_SWIG/PAL_MESH_028_geometry.py index 5de0e34f0..45dbbd78e 100755 --- a/src/GEOM_SWIG/PAL_MESH_028_geometry.py +++ b/src/GEOM_SWIG/PAL_MESH_028_geometry.py @@ -80,11 +80,11 @@ theFilenameToSave = theHomePath + "/Pyramid.hdf" if os.access(theFilenameToSave, os.F_OK): if os.access(theFilenameToSave, os.W_OK): os.remove(theFilenameToSave) - salome.myStudy.SaveAs(theFilenameToSave, 0) + salome.myStudy.SaveAs(theFilenameToSave, 0, 0) else: print "You have no enough permissions to overwrite HDF file: ",theFilenameToSave else: - salome.myStudy.SaveAs(theFilenameToSave, 0) + salome.myStudy.SaveAs(theFilenameToSave, 0, 0) salome.sg.updateObjBrowser() -- 2.39.2