summaryrefslogtreecommitdiff
path: root/misc/userscripts/qute-lastpass
diff options
context:
space:
mode:
Diffstat (limited to 'misc/userscripts/qute-lastpass')
-rwxr-xr-xmisc/userscripts/qute-lastpass2
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()