Skip to content

Commit

Permalink
[SC64][SW] Allow lowercase confirmation (#85)
Browse files Browse the repository at this point in the history
At least one user fell for this, so we can allow lowercase to reduce
support issues
  • Loading branch information
rasky authored Aug 17, 2024
1 parent 12e16b8 commit bbcf041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/tools/primer.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def start_bring_up(self, port: str, bootloader_only: bool=False) -> None:
Utils.log()

try:
if (input('Type YES to continue: ') != 'YES'):
if (input('Type YES to continue: ').upper() != 'YES'):
Utils.die('No confirmation received. Exiting')
Utils.log()
except KeyboardInterrupt:
Expand Down

0 comments on commit bbcf041

Please sign in to comment.