Issue #69 Fix NameError in script

This commit is contained in:
Mat Sutcliffe
2020-08-09 22:15:05 +01:00
parent c713294a07
commit 1c1cade845

View File

@@ -395,7 +395,7 @@ while True:
UserWantsIt = input ('Answer "y" or "n": ')
if UserWantsIt.upper() == 'N':
print ('You answered "N", so we exit without doing anything. Try "python CSL2XSBpy -h" for help.')
exit()
sys.exit()
if UserWantsIt.upper() == 'Y':
break