mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 16:21:01 +00:00
Fix #2901. Silly typo.
This commit is contained in:
@@ -522,9 +522,9 @@ class FilterModelElements(Operator):
|
|||||||
selection += " & " if f.and_or == "and" else " | "
|
selection += " & " if f.and_or == "and" else " | "
|
||||||
selection += f".{query.active_option}"
|
selection += f".{query.active_option}"
|
||||||
|
|
||||||
if value in ("True", "False"):
|
if f.value in ("True", "False"):
|
||||||
value = f.value
|
value = f.value
|
||||||
elif value.isnumeric() and str(float(value))[0] == value[0]:
|
elif f.value.isnumeric() and str(float(f.value))[0] == f.value[0]:
|
||||||
value = f.value
|
value = f.value
|
||||||
else:
|
else:
|
||||||
value = f'"{f.value}"'
|
value = f'"{f.value}"'
|
||||||
|
|||||||
Reference in New Issue
Block a user