pull/140/head
meisnate12 4 years ago
parent e661d2f0b7
commit d140454de1

@ -85,8 +85,7 @@ class CollectionBuilder:
optional.append(str(template["optional"])) optional.append(str(template["optional"]))
else: else:
raise Failed("Collection Error: template sub-attribute optional is blank") raise Failed("Collection Error: template sub-attribute optional is blank")
for method_name, attr_data in template.items():
for method_name, attr_data in template:
if method_name not in self.data and method_name not in ["default", "optional"]: if method_name not in self.data and method_name not in ["default", "optional"]:
if attr_data: if attr_data:
def replace_txt(txt): def replace_txt(txt):

Loading…
Cancel
Save