mirror of
https://github.com/Relintai/sfw.git
synced 2025-01-09 21:19:36 +01:00
Also strip the templates.
This commit is contained in:
parent
8f3e3e3012
commit
dcd4279c04
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user