mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix #1370. Bug where loading pset templates makes it unable to install on Windows.
This commit is contained in:
@@ -16,7 +16,7 @@ class PsetQto:
|
||||
self.schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(schema)
|
||||
if not templates:
|
||||
folder_path = pathlib.Path(__file__).parent.absolute()
|
||||
path = folder_path.joinpath("schema", self.templates_path[schema])
|
||||
path = str(folder_path.joinpath("schema", self.templates_path[schema]))
|
||||
templates = [ifcopenshell.open(path)]
|
||||
self.templates = templates
|
||||
|
||||
|
||||
Reference in New Issue
Block a user