Add error handling

This commit is contained in:
DazedAnon 2024-07-14 23:29:58 -05:00
parent 057cc84ca9
commit 02dc2169d0

View file

@ -136,7 +136,7 @@ def parseCSV(readFile, writeFile, filename):
global LOCK
format = ''
while format == '':
while format not in ['1', '2', '3']:
format = input('\n\nSelect the CSV Format:\n\n1. Translator++\n2. Single\n3. Multiple')
match format:
case '1':