mnemonic: data_dir

This commit is contained in:
ThomasV 2014-09-14 16:08:33 +02:00
parent 90590f70ab
commit 8ca66e7020
1 changed files with 1 additions and 1 deletions

View File

@ -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')