From 98142861076ec810b40813c9a63ff5d51349108b Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 16 Aug 2020 17:27:00 -0400 Subject: strip whitespaces --- keytree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3-70-g09d2