corpus = self.page.corpus
tgenpath = os.path.join(self.page.parametres['pathout'], 'tgen.csv')
if not os.path.exists(tgenpath) :
corpus = self.page.corpus
tgenpath = os.path.join(self.page.parametres['pathout'], 'tgen.csv')
if not os.path.exists(tgenpath) :