mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 03:37:21 +00:00
Fixes typo
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ def _create_offset_curve_representation(
|
|||||||
if not alignment.is_a(expected_type):
|
if not alignment.is_a(expected_type):
|
||||||
raise TypeError(f"Expected {expected_type} but got {alignment.is_a()}")
|
raise TypeError(f"Expected {expected_type} but got {alignment.is_a()}")
|
||||||
|
|
||||||
expected_type = "IfcPointByDistaceExpression"
|
expected_type = "IfcPointByDistanceExpression"
|
||||||
for offset in offsets:
|
for offset in offsets:
|
||||||
if not offset.is_a(expected_type):
|
if not offset.is_a(expected_type):
|
||||||
raise TypeError(f"Expected {expected_type} but got {offset.is_a()}")
|
raise TypeError(f"Expected {expected_type} but got {offset.is_a()}")
|
||||||
|
|||||||
Reference in New Issue
Block a user