Commit 15ccbbe7 authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

bt5_config: Consider for property name which ends with list also

parent 9a6892b7
......@@ -985,6 +985,8 @@ class BusinessPropertyItem(XMLObject):
property_value = self.getProperty('item_property_value')
# First remove the property from the existing path and keep the default
# empty, and update only if the sign is +1
if property_name.endswith('_list'):
property_name = property_name[:-5]
obj._delPropValue(property_name)
if int(self.getProperty('item_sign')) == 1:
obj.setProperty(property_name, property_value, property_type)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment