tfix #1175 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 10d26806d9eb88d063e53ac5acd4a89582e83538 DIR parent 2af42168a4d2a4c6c28378618555c9cb4189e2cf HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 29 Apr 2016 12:52:27 +0200 fix #1175 Diffstat: M lib/mnemonic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/mnemonic.py b/lib/mnemonic.py t@@ -106,7 +106,8 @@ class Mnemonic(object): # Seed derivation no longer follows BIP39 # Mnemonic phrase uses a hash based checksum, instead of a wordlist-dependent checksum - def __init__(self, lang='en'): + def __init__(self, lang=None): + lang = lang or 'en' print_error('language', lang) filename = filenames.get(lang[0:2], 'english.txt') path = os.path.join(os.path.dirname(__file__), 'wordlist', filename)