[SC64][SW] Allow lowercase confirmation (#85)

At least one user fell for this, so we can allow lowercase to reduce
support issues
This commit is contained in:
Giovanni Bajo 2024-08-17 15:06:41 +02:00 committed by GitHub
parent 12e16b807a
commit bbcf041b5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -781,7 +781,7 @@ if __name__ == '__main__':
Utils.log() Utils.log()
try: try:
if (input('Type YES to continue: ') != 'YES'): if (input('Type YES to continue: ').upper() != 'YES'):
Utils.die('No confirmation received. Exiting') Utils.die('No confirmation received. Exiting')
Utils.log() Utils.log()
except KeyboardInterrupt: except KeyboardInterrupt: