diff options
| -rw-r--r-- | abusectl/cli.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/abusectl/cli.py b/abusectl/cli.py index 800ca1a..76ed096 100644 --- a/abusectl/cli.py +++ b/abusectl/cli.py @@ -239,8 +239,12 @@ def _ask_reporter() -> dict: print("is redacted. Leave any of these blank to skip it.") answers = { - "reporter_name": _ask("\nYour name (Enter to skip): "), - "reporter_org": _ask("Your organisation (Enter to skip): "), + # _ask_quotable, not _ask: both values reach init._quoted(), which + # refuses a double quote, and an org name is likelier to carry one + # than an API key is. Re-asked here rather than raised after the + # next question, which is the standing rule this file records. + "reporter_name": _ask_quotable("\nYour name (Enter to skip): "), + "reporter_org": _ask_quotable("Your organisation (Enter to skip): "), "reporter_email": _ask_reporter_email(), } |
