Fix ifc4x3 breaking import of csvs that have enum values after c9847ca #6708

This commit is contained in:
Andrej730
2025-07-15 18:01:12 +05:00
parent 52762f828c
commit d55e7faf2a
2 changed files with 4 additions and 1 deletions
@@ -30,6 +30,9 @@ templates: dict[str, "PsetQto"] = {}
def get_template(schema: str) -> "PsetQto":
"""
:param schema: As in ``file.schema_identifier``, not ``file.schema``.
"""
global templates
if schema not in templates:
templates[schema] = PsetQto(schema)