From bbcf041b5a6505d70efd112bdd2a4f173f1b43e2 Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Sat, 17 Aug 2024 15:06:41 +0200 Subject: [PATCH] [SC64][SW] Allow lowercase confirmation (#85) At least one user fell for this, so we can allow lowercase to reduce support issues --- sw/tools/primer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/tools/primer.py b/sw/tools/primer.py index 6e76d61..172469a 100644 --- a/sw/tools/primer.py +++ b/sw/tools/primer.py @@ -781,7 +781,7 @@ if __name__ == '__main__': 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: