projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[iramuteq]
/
functions.py
diff --git
a/functions.py
b/functions.py
index
4479eaf
..
e77d3f2
100644
(file)
--- a/
functions.py
+++ b/
functions.py
@@
-436,7
+436,10
@@
def ReadDicoAsDico(dicopath):
return dico
def ReadLexique(parent, lang = 'french'):
return dico
def ReadLexique(parent, lang = 'french'):
- parent.lexique = ReadDicoAsDico(parent.DictPath.get(lang, 'french'))
+ if lang != 'other' :
+ parent.lexique = ReadDicoAsDico(parent.DictPath.get(lang, 'french'))
+ else :
+ parent.lexique = {}
def ReadList(filein, encoding = sys.getdefaultencoding()):
#file = open(filein)
def ReadList(filein, encoding = sys.getdefaultencoding()):
#file = open(filein)