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

2
remarkable_mouse/version.py

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

Loading…
Cancel
Save