X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=corpus.py;h=3e4ae30879f4d5872b444058ba064931eec9f620;hp=8518b251331a19c14f8f9c2be8d0e66d81674581;hb=efe71f52a1116aa1a3336178bfd8d6a9fbd5744f;hpb=99eb7fc2e3969cb2f97e373bbadd082180f1cd39 diff --git a/corpus.py b/corpus.py index 8518b25..3e4ae30 100644 --- a/corpus.py +++ b/corpus.py @@ -1545,6 +1545,7 @@ class Builder : filein = parametres['dictionary'] else : filein = None + dial.Destroy() ReadLexique(self.parent, lang = parametres['lang'], filein = filein) if parametres['lang'] != 'other' and os.path.exists(self.parent.DictPath.get(parametres['lang']+'_exp', 'french_exp')): self.parent.expressions = ReadDicoAsDico(self.parent.DictPath.get(parametres['lang']+'_exp', 'french_exp')) @@ -1552,9 +1553,9 @@ class Builder : self.parent.expressions = {} self.parametres = parametres else : + dial.Destroy() if self.dlg is not None : self.dlg.Destroy() - dial.Destroy() def doanalyse(self) : return BuildFromAlceste(self.parent.filename, self.parametres, self.parent.lexique, self.parent.expressions, dlg = self.dlg).corpus