aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pydrilla/pydrilla.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pydrilla/pydrilla.py b/src/pydrilla/pydrilla.py
index b5513b9..7300198 100644
--- a/src/pydrilla/pydrilla.py
+++ b/src/pydrilla/pydrilla.py
@@ -481,6 +481,7 @@ class Content:
for mapping in self.all_items(self.mappings):
for payload in mapping['payloads']:
+ pattern = payload['pattern']
try:
MappingItem(pattern, mapping)\
.register(self.patterns_by_proto)