fix typo
This commit is contained in:
parent
08059336ca
commit
5189feae3a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
tempalte_file = sys.argv[1]
|
template_file = sys.argv[1]
|
||||||
magic_string = sys.argv[2]
|
magic_string = sys.argv[2]
|
||||||
outfile = sys.argv[3]
|
outfile = sys.argv[3]
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ if Path(outfile).exists():
|
||||||
print(f"{outfile} already exists, aborting")
|
print(f"{outfile} already exists, aborting")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
template_bytes = Path(tempalte_file).read_bytes()
|
template_bytes = Path(template_file).read_bytes()
|
||||||
loc = 0
|
loc = 0
|
||||||
output = b""
|
output = b""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue