From 7305930771de97aae71f22bd46a4092ec4dce776 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Thu, 14 Feb 2019 14:50:35 +0100 Subject: [PATCH] extension des fichiers en sortie legere --- generator/generator_TELEMAC.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) -- 2.39.2