aboutsummaryrefslogtreecommitdiff
path: root/keytree.py
diff options
context:
space:
mode:
Diffstat (limited to 'keytree.py')
-rwxr-xr-xkeytree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keytree.py b/keytree.py
index 901ebf6..ce4727d 100755
--- a/keytree.py
+++ b/keytree.py
@@ -225,7 +225,7 @@ if __name__ == '__main__':
words = mgen.generate(256)
print("KEEP THIS PRIVATE: {}".format(words))
else:
- words = getpass('Enter the mnemonic: ')
+ words = getpass('Enter the mnemonic: ').strip()
if not args.custom_words:
mchecker = mnemonic.Mnemonic(args.lang)
if not mchecker.check(words):