Skip to content

Commit

Permalink
Fixed EventManager handlers to be list instead of tuple (#3734)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwild authored and douglascamata committed Aug 12, 2016
1 parent 50cd7bf commit 62715ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/event_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 62715ae

Please sign in to comment.