From e43fa7223279a5c6acad54ab14347f6e84f659fe Mon Sep 17 00:00:00 2001 From: Marcel R Date: Wed, 23 Jun 2021 14:45:52 +0200 Subject: [PATCH] Fix dict usage in listeners_all. --- pymitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymitter.py b/pymitter.py index 8b85a34..52fcafd 100644 --- a/pymitter.py +++ b/pymitter.py @@ -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