We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ea984 commit 2d3708dCopy full SHA for 2d3708d
adafruit_minimqtt/matcher.py
@@ -88,11 +88,9 @@ def rec(node: MQTTMatcher.Node, i: int = 0):
88
else:
89
part = lst[i]
90
if part in node.children:
91
- for content in rec(node.children[part], i + 1):
92
- yield content
+ yield from rec(node.children[part], i + 1)
93
if "+" in node.children and (normal or i > 0):
94
- for content in rec(node.children["+"], i + 1):
95
+ yield from rec(node.children["+"], i + 1)
96
if "#" in node.children and (normal or i > 0):
97
content = node.children["#"].content
98
if content is not None:
0 commit comments