mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
Add default language for mnemonic
Add en as default language for mnemonic
This commit is contained in:
parent
c02faeba2d
commit
27a663091b
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class Mnemonic(object):
|
|||
|
||||
def __init__(self, lang=None):
|
||||
if lang in [None, '']:
|
||||
lang = i18n.language.info().get('language')
|
||||
lang = i18n.language.info().get('language', 'en')
|
||||
print_error('language', lang)
|
||||
filename = filenames.get(lang[0:2], 'english.txt')
|
||||
path = os.path.join(util.data_dir(), 'wordlist', filename)
|
||||
|
|
Loading…
Add table
Reference in a new issue