Also strip the templates.

This commit is contained in:
Relintai 2024-01-05 10:26:53 +01:00
parent 8f3e3e3012
commit dcd4279c04

View File

@ -109,7 +109,7 @@ def main():
template_args[arg[2:]] = unknown[i + 1] template_args[arg[2:]] = unknown[i + 1]
with open(args.template, "r") as f: with open(args.template, "r") as f:
output = process_template(f.read()) output = process_template(strip_file(f.read()))
with open(args.output, "w") as f: with open(args.output, "w") as f:
f.write(output) f.write(output)