1
0
Fork 0
mirror of https://github.com/Luzifer/password.git synced 2024-11-10 02:10:00 +00:00

Make generated passwords actionable again

This makes the items actionable. The feedback.py lib used in v1.2.0 defaulted added items to actionable however the Workflow lib used in the latest version does not.
This commit is contained in:
Tim Robertson 2018-03-20 14:03:46 -04:00 committed by GitHub
parent 716c8dbca9
commit c4882067cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,10 +52,12 @@ def main(wf):
wf.add_item(title=result['password'], wf.add_item(title=result['password'],
subtitle="Press Cmd+C to copy", subtitle="Press Cmd+C to copy",
arg=result['password']) arg=result['password'],
valid=True)
wf.add_item(title="Copy hashed versions", wf.add_item(title="Copy hashed versions",
subtitle="Press Cmd+C to copy", subtitle="Press Cmd+C to copy",
arg="\n".join(hashed)) arg="\n".join(hashed),
valid=True)
wf.send_feedback() wf.send_feedback()
return 0 return 0