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