Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/manage/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def _ask(self, fmt, *args, yn_text="Y/n", expect_char="y"):
resp = input().casefold()
except Exception:
return False
return not resp or resp.startswith(expect_char.casefold())
return not resp or resp == expect_char.casefold()

def ask_yn(self, fmt, *args):
"Returns True if the user selects 'yes' or confirmations are skipped."
Expand Down