From: pascale.noyret Date: Thu, 14 Feb 2019 13:50:35 +0000 (+0100) Subject: extension des fichiers en sortie legere X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7305930771de97aae71f22bd46a4092ec4dce776;p=tools%2Feficas.git extension des fichiers en sortie legere --- diff --git a/generator/generator_TELEMAC.py b/generator/generator_TELEMAC.py index b54b2133..4b7b2ee2 100644 --- a/generator/generator_TELEMAC.py +++ b/generator/generator_TELEMAC.py @@ -136,8 +136,9 @@ class TELEMACGenerator(PythonGenerator): def writeDefault(self,fn) : self.texteDico+='&ETA\n' - if self.statut == 'Leger' : extension = ".Lcas" - else : extension = ".cas" + #if self.statut == 'Leger' : extension = ".Lcas" + #else : extension = ".cas" + extension='.cas" fileDico = fn[:fn.rfind(".")] + extension f = open( str(fileDico), 'w') f.write( self.texteDico )