mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Update selector.py
filter_rule.children[2].children[0].lower() == 'true'
This commit is contained in:
committed by
Thomas Krijnen
parent
d526314190
commit
6160d65d18
@@ -185,7 +185,7 @@ class Selector:
|
|||||||
elif token_type == "SIGNED_FLOAT":
|
elif token_type == "SIGNED_FLOAT":
|
||||||
value = float(filter_rule.children[2].children[0])
|
value = float(filter_rule.children[2].children[0])
|
||||||
elif token_type == "BOOLEAN":
|
elif token_type == "BOOLEAN":
|
||||||
value = filter_rule.children[2].children[0] == "TRUE"
|
value = filter_rule.children[2].children[0].lower() == 'true'
|
||||||
elif token_type == "NULL":
|
elif token_type == "NULL":
|
||||||
value = None
|
value = None
|
||||||
for element in elements:
|
for element in elements:
|
||||||
|
|||||||
Reference in New Issue
Block a user