mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
mnemonic: data_dir
This commit is contained in:
parent
90590f70ab
commit
8ca66e7020
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue