Skip to content

Commit

Permalink
Added letter only code generation - #68
Browse files Browse the repository at this point in the history
Signed-off-by: LuXeZs <[email protected]>
  • Loading branch information
LuXeZs committed Jun 26, 2023
1 parent eaed50c commit 0ac1483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!')
Expand All @@ -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)
sys.exit(130)

0 comments on commit 0ac1483

Please sign in to comment.