mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Minor fix
This commit is contained in:
@@ -51,7 +51,7 @@ class ClassificationsData:
|
|||||||
results = []
|
results = []
|
||||||
for element in tool.Ifc.get().by_type("IfcClassification"):
|
for element in tool.Ifc.get().by_type("IfcClassification"):
|
||||||
data = element.get_info()
|
data = element.get_info()
|
||||||
if IfcStore.classification_file.schema == "IFC2X3" and element.EditionDate:
|
if tool.Ifc.get().schema == "IFC2X3" and element.EditionDate:
|
||||||
data["EditionDate"] = ifcopenshell.util.date.ifc2datetime(data["EditionDate"])
|
data["EditionDate"] = ifcopenshell.util.date.ifc2datetime(data["EditionDate"])
|
||||||
results.append(data)
|
results.append(data)
|
||||||
return results
|
return results
|
||||||
|
|||||||
Reference in New Issue
Block a user