From d140454de17cf93cd84c19a5a5202f530246b9dd Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 26 Mar 2021 11:49:43 -0400 Subject: [PATCH] fix for #139 --- modules/builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/builder.py b/modules/builder.py index 14ca80bc..13452b1d 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -85,8 +85,7 @@ class CollectionBuilder: optional.append(str(template["optional"])) else: raise Failed("Collection Error: template sub-attribute optional is blank") - - for method_name, attr_data in template: + for method_name, attr_data in template.items(): if method_name not in self.data and method_name not in ["default", "optional"]: if attr_data: def replace_txt(txt):