This commit is contained in:
Andrej730
2025-02-03 11:46:18 +05:00
parent 5159a69225
commit 734cd47ea5
+5 -1
View File
@@ -32,7 +32,11 @@ def get_ifc_sqlite() -> ifcopenshell.sqlite:
if SQLITE_PATH is None:
tmp = tempfile.NamedTemporaryFile(delete=False, suffix=".ifcsqlite")
SQLITE_PATH = ifcpatch.execute(
{"file": ifcopenshell.open(TEST_FILE), "recipe": "Ifc2Sql", "arguments": ["sqlite", None, None, None, tmp.name]}
{
"file": ifcopenshell.open(TEST_FILE),
"recipe": "Ifc2Sql",
"arguments": ["sqlite", None, None, None, tmp.name],
}
)
assert isinstance(SQLITE_PATH, str)
ifc_sqlite = ifcopenshell.open(SQLITE_PATH)