From dc1697913b377bf5251a3ea0b74a672eb62358b9 Mon Sep 17 00:00:00 2001 From: evan Date: Wed, 3 Apr 2019 19:18:56 -0500 Subject: [PATCH] fix --password --- remarkable_mouse/remarkable_mouse.py | 3 +++ remarkable_mouse/version.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/remarkable_mouse/remarkable_mouse.py b/remarkable_mouse/remarkable_mouse.py index 50fcc5c..54560bd 100755 --- a/remarkable_mouse/remarkable_mouse.py +++ b/remarkable_mouse/remarkable_mouse.py @@ -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) diff --git a/remarkable_mouse/version.py b/remarkable_mouse/version.py index 14e1e33..0a04d1b 100644 --- a/remarkable_mouse/version.py +++ b/remarkable_mouse/version.py @@ -1 +1 @@ -__version__ = '4' +__version__ = '4.1'