diff --git a/asterisk/manager.py b/asterisk/manager.py index e4870b6..fe687bf 100644 --- a/asterisk/manager.py +++ b/asterisk/manager.py @@ -383,8 +383,8 @@ class Manager(object): # dispatch our events # first build a list of the functions to execute - callbacks = self._event_callbacks.get(ev.name, []) - callbacks.extend(self._event_callbacks.get('*', [])) + callbacks = (self._event_callbacks.get(ev.name, []) + + self._event_callbacks.get('*', [])) # now execute the functions for callback in callbacks: