diff --git a/vollerei/cli/utils.py b/vollerei/cli/utils.py index 2ddcfb2..f41b0a7 100644 --- a/vollerei/cli/utils.py +++ b/vollerei/cli/utils.py @@ -6,8 +6,8 @@ def ask(question: str): print(question + " [Y/n] Y") return True while True: - answer = input(question + " [y/n] ") - if answer.lower() in ["y", "yes"]: + answer = input(question + " [Y/n] ") + if answer.lower().strip() in ["y", "yes", ""]: return True # Pacman way, treat all other answers as no else: