Issue #69 CSL2XSB always asks for confirmation to proceed

This commit is contained in:
Mat Sutcliffe
2020-08-09 01:44:26 +01:00
parent 73435fb76a
commit 2468f3cd81

View File

@@ -386,9 +386,7 @@ parser.add_argument('--replaceDR', metavar="TEXT", help="Replace dataRef's root
args = parser.parse_args()
# If called with no argument (e.g. by double-clicking the script) ask the user interactively
# if (s)he likes to work on the current directory.
UserWantsIt = None
# ask the user interactively if (s)he likes to work on the current directory.
if args.path == 'NULL':
args.path = Path.cwd()
print (parser.description)
@@ -413,8 +411,6 @@ if args.verbose:
numConverted = ConvFolder(basePath)
print ('Done. Converted ' + str(numConverted) + ' OBJ8 files in total. Produced ' + str(_warnings) + ' warning(s).')
# Running interactively?
if UserWantsIt is not None:
input ("Hit [Enter] to finish.")
# --- Done ---