diff options
-rw-r--r-- | poezio/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/events.py b/poezio/events.py index b34eef32..5213f663 100644 --- a/poezio/events.py +++ b/poezio/events.py @@ -98,7 +98,7 @@ class EventHandler: priority.remove(callback) else: callbacks = self.events[name] - for priority in callbacks.entries(): + for priority in callbacks.values(): for entry in priority[:]: if entry == callback: priority.remove(callback) |