aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-08-16 17:27:00 -0400
committerDeterminant <tederminant@gmail.com>2020-08-16 17:27:00 -0400
commit98142861076ec810b40813c9a63ff5d51349108b (patch)
tree87a94ae48e04cff7e34a76bd6b88c7981f90eb42
parent9ae70f9df7bdd25f45293b89fa79f3d20bddd08f (diff)
strip whitespaces
-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):