X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=862ea5f00cd5b932390eb5d34ed736703021572c;hp=9b1c8bf0c43e1286d4b27f62e77c9f1dd42947cf;hb=0926e09cbfbd5c0d1bc654059a64924364d2b332;hpb=b5603a452507554481981b32147a60c17151cade 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)