Browse Source

fix --password

master
evan 6 years ago
parent
commit
dc1697913b
  1. 3
      remarkable_mouse/remarkable_mouse.py
  2. 2
      remarkable_mouse/version.py

3
remarkable_mouse/remarkable_mouse.py

@ -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)

2
remarkable_mouse/version.py

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

Loading…
Cancel
Save