From: eficas <> Date: Thu, 16 Jun 2005 10:12:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CC_param_poursuite~99 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6743195c9768648a4e3a805c2e6b320e3e9cc4ed;p=modules%2Feficas.git *** empty log message *** --- diff --git a/Editeur/utils.py b/Editeur/utils.py index a9670ddc..34ec3b39 100644 --- a/Editeur/utils.py +++ b/Editeur/utils.py @@ -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()