This commit is contained in:
Kiara Grouwstra 2025-05-28 22:55:54 +02:00
parent 08059336ca
commit 5189feae3a
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -1,7 +1,7 @@
import sys
from pathlib import Path
tempalte_file = sys.argv[1]
template_file = sys.argv[1]
magic_string = sys.argv[2]
outfile = sys.argv[3]
@ -9,7 +9,7 @@ if Path(outfile).exists():
print(f"{outfile} already exists, aborting")
sys.exit(1)
template_bytes = Path(tempalte_file).read_bytes()
template_bytes = Path(template_file).read_bytes()
loc = 0
output = b""