From 67631e6c5db6739f7a57958d222e5af7ebc364b0 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 20 Nov 2021 19:55:47 +0100 Subject: fix 'referenced before assignment' error --- src/pydrilla/pydrilla.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pydrilla/pydrilla.py b/src/pydrilla/pydrilla.py index 20c2801..d7aef76 100644 --- a/src/pydrilla/pydrilla.py +++ b/src/pydrilla/pydrilla.py @@ -254,6 +254,7 @@ class PatternTreeNode: just created). ''' node = self + segment = None for segment in segments: wildcards = node.wildcard_matches -- cgit v1.2.3