summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)