Add en as default language for mnemonic
@ -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)