From 0ac1483d6ae788144510a02d1f2885d5761bf7d1 Mon Sep 17 00:00:00 2001 From: LuXeZs <49080760+LuXeZs@users.noreply.github.com> Date: Mon, 26 Jun 2023 12:33:39 +0100 Subject: [PATCH] Added letter only code generation - #68 Signed-off-by: LuXeZs <49080760+LuXeZs@users.noreply.github.com> --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 74e1f21..e3800b4 100644 --- a/main.py +++ b/main.py @@ -53,6 +53,7 @@ def userFacing(cfg: dict): validCodeModes: set = { 'normal', 'backup', + 'backup_let', 'both' } if cfg['codeMode'] not in validCodeModes: raise ValueError('Invalid code-generation mode inputted!') @@ -68,4 +69,4 @@ def userFacing(cfg: dict): except KeyboardInterrupt: # Exit procedure taken from: https://stackoverflow.com/a/21144662 print(f"\n{color('Halting Program on KeyboardInterrupt...!', 'red')}") - sys.exit(130) \ No newline at end of file + sys.exit(130)