Update 'scripts/setup-generator.py'

pull/4/head
drunkendog 2022-09-26 15:04:24 +01:00
parent 4007d988b7
commit 63a1729536
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ for directory in directories:
replacement.append("-1")
print(replacement[0].rstrip(), replacement[1].rstrip(), int(replacement[2].rstrip().rstrip("\n")))
current_setup_template = current_setup_template.replace(replacement[0].rstrip("\n"), replacement[1].rstrip("\n"), int(replacement[2].rstrip("\n")))
current_setup_template = current_setup_template.replace(replacement[0].rstrip(), replacement[1].rstrip(), int(replacement[2].rstrip().rstrip("\n")))
if glob.glob(f"{directory}/parser.py"):
should_continue = input(f"Custom instructions found in {directory}, continue? (Y/N) ")