From 1c1cade84552111984865a4ffedaa5b7f8d8d971 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Sun, 9 Aug 2020 22:15:05 +0100 Subject: [PATCH] Issue #69 Fix NameError in script --- scripts/csl2xsb/CSL2XSB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/csl2xsb/CSL2XSB.py b/scripts/csl2xsb/CSL2XSB.py index 1bfd76a71..9d0110b26 100644 --- a/scripts/csl2xsb/CSL2XSB.py +++ b/scripts/csl2xsb/CSL2XSB.py @@ -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