tMerge pull request #864 from wozz/default-lang - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 12e9e40fce489d0221b21261c8d7d771dc9db887 DIR parent c02faeba2d54dd080381bedae01247a697c13294 HTML Author: wozz <wozz@users.noreply.github.com> Date: Sun, 21 Sep 2014 10:49:55 -0400 Merge pull request #864 from wozz/default-lang Add default language for mnemonic Diffstat: M lib/mnemonic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/mnemonic.py b/lib/mnemonic.py t@@ -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)