Commit 49d87cf5 authored by Vincent Pelletier's avatar Vincent Pelletier

Add support for multiple site properties in imported BTs.

parent 3f614007
......@@ -3106,7 +3106,7 @@ class SitePropertyTemplateItem(BaseTemplateItem):
LOG('Business Template', 0, 'Skipping file "%s"' % (file_name, ))
return
xml = parse(file)
property_node = xml.getroot()[0]
for property_node in xml.getroot().findall('property'):
property_id = property_node.find('id').text
prop_type = property_node.find('type').text
value_node = property_node.find('value')
......
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