diff --git a/src/ifccsv/ifccsv.py b/src/ifccsv/ifccsv.py index 6dbf949b2e..99edbaf4a1 100755 --- a/src/ifccsv/ifccsv.py +++ b/src/ifccsv/ifccsv.py @@ -6,7 +6,6 @@ import ifcopenshell.util.selector import ifcopenshell.util.element import ifcopenshell.util.schema import csv -import lark import argparse @@ -21,7 +20,7 @@ class IfcAttributeSetter: if "." not in key: return element if key[0:3] == "Qto": - qto, prop = key.split(".", 1) + qto_name, prop = key.split(".", 1) qto = IfcAttributeSetter.get_element_qto(element, qto_name) if qto: IfcAttributeSetter.set_qto_property(qto, prop, value)