commit 8ca66e70209332fe6dc743ac704152c5bf68c347
parent 90590f70abd688201c02fac6b9c058fa23c4bb01
Author: ThomasV <thomasv@gitorious>
Date: Sun, 14 Sep 2014 16:08:33 +0200
mnemonic: data_dir
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mnemonic.py b/lib/mnemonic.py
@@ -101,7 +101,7 @@ class Mnemonic(object):
def __init__(self, lang='en'):
filename = filenames.get(lang[0:2], 'english.txt')
- path = os.path.join(util.appdata_dir(), 'wordlist', filename)
+ path = os.path.join(util.data_dir(), 'wordlist', filename)
s = open(path,'r').read().strip()
s = unicodedata.normalize('NFKD', s.decode('utf8'))
lines = s.split('\n')