mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Minor fix
This commit is contained in:
@@ -16,7 +16,7 @@ class Usecase:
|
|||||||
"TemplateType": "P_SINGLEVALUE",
|
"TemplateType": "P_SINGLEVALUE",
|
||||||
"AccessState": "READWRITE"
|
"AccessState": "READWRITE"
|
||||||
})
|
})
|
||||||
has_property_templates = list(self.settings["pset_template"].HasPropertyTemplates) or []
|
has_property_templates = list(self.settings["pset_template"].HasPropertyTemplates or [])
|
||||||
has_property_templates.append(prop_template)
|
has_property_templates.append(prop_template)
|
||||||
self.settings["pset_template"].HasPropertyTemplates = has_property_templates
|
self.settings["pset_template"].HasPropertyTemplates = has_property_templates
|
||||||
return prop_template
|
return prop_template
|
||||||
|
|||||||
Reference in New Issue
Block a user