From da0898d7cd3ccf982587a541349542820db50062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Gr=C3=B8nb=C3=A6k=20Andersen?= Date: Fri, 27 Dec 2024 16:07:10 +0100 Subject: [PATCH] Adjust error message --- Scripts/generate_route_tsection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/generate_route_tsection.py b/Scripts/generate_route_tsection.py index 340a957..a79724a 100644 --- a/Scripts/generate_route_tsection.py +++ b/Scripts/generate_route_tsection.py @@ -152,7 +152,7 @@ def generate_dynatrax_entries(world_files, dyntrack_sections, dyntrack_paths): dyntrack_path_section = next((t for t in dyntrack_sections if t[0] == path_section_idx), None) if dyntrack_path_section is None: - raise Exception("Could not find TrackSection %d for TrackPath with SectionIdx %d for shape '%s'" % (path_section_idx, section_idx, shape_name)) + raise Exception("Could not find SectionCurve %d in TrackPath with SectionIdx %d for shape '%s'" % (path_section_idx, section_idx, shape_name)) section_type = dyntrack_path_section[1] length = dyntrack_path_section[2]