From 3a2fbf882992613abf84cb2680942396e3962ed0 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Thu, 4 May 2017 12:05:53 +0200 Subject: [PATCH] enleve le dernier ; des listes de chaines --- generator/generator_TELEMAC.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/generator_TELEMAC.py b/generator/generator_TELEMAC.py index fd095be6..d2444cfa 100644 --- a/generator/generator_TELEMAC.py +++ b/generator/generator_TELEMAC.py @@ -197,6 +197,9 @@ class TELEMACGenerator(PythonGenerator): sTelemac=sTelemac[0:-1] if sTelemac.find("'") > 0 : sTelemac= sTelemac.replace (',',';\n ') + # on enleve le dernier ';' + index=(sTelemac.rfind(";")) + sTelemac=sTelemac[:index]+' '+sTelemac[index+1:] if self.langue=='fr' : -- 2.39.2