diff options
Diffstat (limited to 'misc/userscripts/qute-lastpass')
-rwxr-xr-x | misc/userscripts/qute-lastpass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/userscripts/qute-lastpass b/misc/userscripts/qute-lastpass index edb48dfdc..e99a51a0f 100755 --- a/misc/userscripts/qute-lastpass +++ b/misc/userscripts/qute-lastpass @@ -86,7 +86,7 @@ def qute_command(command): def pass_(domain, encoding): domain = re.escape(domain) args = ['lpass', 'show', '-x', '-j', '-G', '\\b{:s}'.format(domain)] - process = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + process = subprocess.run(args, capture_output=True) candidates = json.loads(process.stdout.decode(encoding).strip() or '[]') err = process.stderr.decode(encoding).strip() |