Fix error due to typo

This commit is contained in:
Gorgious
2021-08-19 22:31:29 +02:00
parent f904648783
commit b5ff3cd818
@@ -63,7 +63,7 @@ class Usecase:
def get_styled_representation(self, definition_representation):
representations = [
r
for r in definition_representation.Representations is r.is_a("IfcStyledRepresentation")
for r in definition_representation.Representations if r.is_a("IfcStyledRepresentation")
and r.ContextOfItems == self.settings["context"]
]
if representations: