diff --git a/python/src/trezorlib/ui.py b/python/src/trezorlib/ui.py index fc0f6e20f4..9d486b67b6 100644 --- a/python/src/trezorlib/ui.py +++ b/python/src/trezorlib/ui.py @@ -138,7 +138,7 @@ def mnemonic_words(expand=False, language="english"): return word matches = [w for w in wordlist if w.startswith(word)] if len(matches) == 1: - return word + return matches[0] echo("Choose one of: " + ", ".join(matches)) raise KeyError(word)