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:
parent
716c8dbca9
commit
c4882067cb
1 changed files with 4 additions and 2 deletions
|
@ -52,10 +52,12 @@ def main(wf):
|
|||
|
||||
wf.add_item(title=result['password'],
|
||||
subtitle="Press Cmd+C to copy",
|
||||
arg=result['password'])
|
||||
arg=result['password'],
|
||||
valid=True)
|
||||
wf.add_item(title="Copy hashed versions",
|
||||
subtitle="Press Cmd+C to copy",
|
||||
arg="\n".join(hashed))
|
||||
arg="\n".join(hashed),
|
||||
valid=True)
|
||||
wf.send_feedback()
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue