summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-11-15 14:31:08 +0100
committerWojtek Kosior <koszko@koszko.org>2021-11-15 14:31:08 +0100
commit214f4d2183bc633c8130d7d358a0dbbdc92fafe6 (patch)
tree27408af39c7afd3d7f3877d865b572af93f33023 /src
parentd51f29c31118a3d10a4ee0eb4dc648da6dbc68bd (diff)
downloadhaketilo-hydrilla-214f4d2183bc633c8130d7d358a0dbbdc92fafe6.tar.gz
haketilo-hydrilla-214f4d2183bc633c8130d7d358a0dbbdc92fafe6.zip
add missing variable assignment
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)