From 3faab303d7164861d313b24f28ec72571592cb54 Mon Sep 17 00:00:00 2001 From: Chris Wild Date: Fri, 12 Aug 2016 13:27:25 +0100 Subject: [PATCH] Fixed EventManager handlers to be list instead of tuple --- pokemongo_bot/event_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/event_manager.py b/pokemongo_bot/event_manager.py index 3773ec8a9e..3d759bf666 100644 --- a/pokemongo_bot/event_manager.py +++ b/pokemongo_bot/event_manager.py @@ -23,7 +23,7 @@ class EventManager(object): def __init__(self, *handlers): self._registered_events = dict() - self._handlers = handlers or [] + self._handlers = list(handlers) or [] def event_report(self): for event, parameters in self._registered_events.iteritems():