fix --password

This commit is contained in:
evan
2019-04-03 19:18:56 -05:00
parent 52c0c52ae2
commit dc1697913b
2 changed files with 4 additions and 1 deletions

View File

@@ -72,6 +72,9 @@ def open_eventfile(args, file='/dev/input/event0'):
os.path.expanduser(args.key), os.path.expanduser(args.key),
password=passphrase password=passphrase
) )
elif args.password:
password = args.password
pkey = None
else: else:
password = getpass( password = getpass(
"Password for '{}': ".format(args.address) "Password for '{}': ".format(args.address)

View File

@@ -1 +1 @@
__version__ = '4' __version__ = '4.1'