Minor fix

This commit is contained in:
Dion Moult
2022-09-28 22:18:54 +10:00
parent 90a788082d
commit d2836e07d5
@@ -51,7 +51,7 @@ class ClassificationsData:
results = []
for element in tool.Ifc.get().by_type("IfcClassification"):
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"])
results.append(data)
return results