Update 'scripts/setup-generator.py'

pull/4/head
drunkendog 2022-09-26 14:53:02 +01:00
parent fb4320fac4
commit 4007d988b7
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ for directory in directories:
if len(replacement) == 2: if len(replacement) == 2:
replacement.append("-1") replacement.append("-1")
print(replacement[0].rstrip("\n"), replacement[1].rstrip("\n"), int(replacement[2].rstrip("\n"))) 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("\n"), replacement[1].rstrip("\n"), int(replacement[2].rstrip("\n")))
if glob.glob(f"{directory}/parser.py"): if glob.glob(f"{directory}/parser.py"):