diff --git a/pkgs/nix_templater/replace.py b/pkgs/nix_templater/replace.py index 8b434a9..aa84127 100644 --- a/pkgs/nix_templater/replace.py +++ b/pkgs/nix_templater/replace.py @@ -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""