]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authoreficas <>
Thu, 16 Jun 2005 10:12:26 +0000 (10:12 +0000)
committereficas <>
Thu, 16 Jun 2005 10:12:26 +0000 (10:12 +0000)
Editeur/utils.py

index a9670ddc4610de42d8f9aa0e7ad9d6bd895b4f75..34ec3b3977363095cfe93735d9b7ac29e2e92770 100644 (file)
@@ -85,6 +85,8 @@ def save_in_file(file,text):
       retourne 1 si OK 0 sinon
   """
   try :
+      import string
+      file=string.split(file,"/")[-1]
       f=open(file,'w')
       f.write(text)
       f.close()