From b0da8c4b9612270a924c801adac6463612fb6c12 Mon Sep 17 00:00:00 2001 From: MichiRecRoom <1008889+LikeLakers2@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:28:18 -0400 Subject: [PATCH] I forgot, these need to be windows paths... --- tools/ticked_file_enforcement/ticked_file_enforcement.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ticked_file_enforcement/ticked_file_enforcement.py b/tools/ticked_file_enforcement/ticked_file_enforcement.py index e9fd3e270bd8..8384be117c15 100644 --- a/tools/ticked_file_enforcement/ticked_file_enforcement.py +++ b/tools/ticked_file_enforcement/ticked_file_enforcement.py @@ -348,7 +348,8 @@ def compare_paths(a: pathlib.Path, b: pathlib.Path): result_string.write(pre_include_text) result_string.write("// BEGIN_INCLUDE\n") for include in sorted_includes: - print(f'#include "{include}"', file=result_string) + string_include = pathlib.PureWindowsPath(include) + print(f'#include "{string_include}"', file=result_string) result_string.write("// END_INCLUDE\n") result_string.write(post_include_text)