From b00e9dceaf7320f3217abde51ab8c0a9deb238a9 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 28 Apr 2021 15:08:48 -0400 Subject: [PATCH] #220 collectionless ignores itself --- modules/builder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/builder.py b/modules/builder.py index b53ab89b..dc92651c 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -661,6 +661,7 @@ class CollectionBuilder: exact_list.append(str(method_data[dict_methods["exclude"]])) if len(prefix_list) == 0 and len(exact_list) == 0: raise Failed("Collection Error: you must have at least one exclusion") + exact_list.append(self.name) new_dictionary["exclude_prefix"] = prefix_list new_dictionary["exclude"] = exact_list self.methods.append((method_name, [new_dictionary]))