-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Genesis.py prompts for "Ntfy Token (Optional, Enter to skip)" but requires you to enter some value to move on. I haven't used Ntfy enough to know if providing an invalid Ntfy token would break something or not.
The issue is the else branch of the prompt function loops forever until the user provides a non-empty value. When you pass "" as the default, if default: evaluates to False (empty string is falsy), so it hits the else branch and won't accept an empty input.
Could be fixed by checking "if default is not None" instead
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels