Skip to content

Commit

Permalink
Fix dict usage in listeners_all.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jun 23, 2021
1 parent fd34b8a commit e43fa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def listeners_all(self):
"""
listeners = list(self._tree[self.CB_KEY])

branches = self._tree.values()
branches = list(self._tree.values())
for b in branches:
if not isinstance(b, dict):
continue
Expand Down

0 comments on commit e43fa72

Please sign in to comment.