|
@ -101,7 +101,7 @@ class Mnemonic(object): |
|
|
|
|
|
|
|
|
def __init__(self, lang=None): |
|
|
def __init__(self, lang=None): |
|
|
if lang in [None, '']: |
|
|
if lang in [None, '']: |
|
|
lang = i18n.language.info().get('language') |
|
|
lang = i18n.language.info().get('language', 'en') |
|
|
print_error('language', lang) |
|
|
print_error('language', lang) |
|
|
filename = filenames.get(lang[0:2], 'english.txt') |
|
|
filename = filenames.get(lang[0:2], 'english.txt') |
|
|
path = os.path.join(util.data_dir(), 'wordlist', filename) |
|
|
path = os.path.join(util.data_dir(), 'wordlist', filename) |
|
|