X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=862ea5f00cd5b932390eb5d34ed736703021572c;hp=9b1c8bf0c43e1286d4b27f62e77c9f1dd42947cf;hb=b3bc705961fd8798f6379bad9e1d448a85f484a5;hpb=8afa738ca2e08be2100badeb77e7ff5560b271cf diff --git a/functions.py b/functions.py index 9b1c8bf..862ea5f 100644 --- a/functions.py +++ b/functions.py @@ -519,7 +519,7 @@ def BugReport(parent, error = None): txt += u'*************************************\n' txt += '\n'.join(excTb).replace(' ', ' ') txt += excName + '\n' - txt += exc + txt += `exc` title = "Bug" dial = BugDialog(parent, **{'title' : title}) @@ -556,7 +556,10 @@ def ReadLexique(parent, lang = 'french', filein = None): else : parent.lexique = ReadDicoAsDico(filein) else : - parent.lexique = {} + if filein is None : + parent.lexique = {} + else : + parent.lexique = ReadDicoAsDico(filein) def ReadList(filein, encoding = sys.getdefaultencoding(), sep = ';'): #file = open(filein)