cisagov / gophish-tools

Helpful tools for interacting with a GoPhish phishing instance
Creative Commons Zero v1.0 Universal
42 stars 6 forks source link

Adding run method call for prompt-toolkit radiolist_dialog module, wh… #38

Closed nickviola closed 3 years ago

nickviola commented 3 years ago

…ich is required in newer version

🗣 Description

Fixes the timezone selection prompt issue.

💭 Motivation and context

Resolves #37. The prompt was not displaying before due to a missing method call to .run() which is apparently required in the new version of the prompt_toolkit radiolist_dialog module

🧪 Testing

  1. Drop into COOL env (or build and tag image locally)
  2. Try running docker run -it cisagov/gophish-tools pca-wizard "RV1234_test" (the prompt should now trigger - see screenshot)

📷 Screenshots (if appropriate)

Screen Shot 2021-07-21 at 3 49 40 PM

✅ Checklist

dav3r commented 3 years ago

A couple of reminders:

dav3r commented 3 years ago

One other thing: please add "Resolves #37" to the "Motivation and context" section above.

nickviola commented 3 years ago

One other thing: please add "Resolves #37" to the "Motivation and context" section above.

Updated!