diff --git a/wpimath/generate_numbers.py b/wpimath/generate_numbers.py index ec55ff63cc5..b95800e4d4d 100755 --- a/wpimath/generate_numbers.py +++ b/wpimath/generate_numbers.py @@ -13,7 +13,7 @@ def output(output_dir: Path, outfn: str, contents: str): output_dir.mkdir(parents=True, exist_ok=True) output_file = output_dir / outfn - output_file.write_text(contents, encoding="utf-8") + output_file.write_text(contents, encoding="utf-8", newline="\n") def generate_numbers(output_directory: Path, template_root: Path):