projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new langages
[iramuteq]
/
functions.py
diff --git
a/functions.py
b/functions.py
index
9b1c8bf
..
862ea5f
100644
(file)
--- 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 += u'*************************************\n'
txt += '\n'.join(excTb).replace(' ', ' ')
txt += excName + '\n'
- txt +=
exc
+ txt +=
`exc`
title = "Bug"
dial = BugDialog(parent, **{'title' : title})
title = "Bug"
dial = BugDialog(parent, **{'title' : title})
@@
-556,7
+556,10
@@
def ReadLexique(parent, lang = 'french', filein = None):
else :
parent.lexique = ReadDicoAsDico(filein)
else :
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)
def ReadList(filein, encoding = sys.getdefaultencoding(), sep = ';'):
#file = open(filein)