Closed MTRNord closed 8 years ago
Full error meassage is:
15.07.16 21:25:02 [+0200] 19:25:02 ERROR commands: RUN: pokedex
15.07.16 21:25:02 [+0200] Traceback (most recent call last):
15.07.16 21:25:02 [+0200] File "/opt/hangoutsbot/hangupsbot/commands/__init__.py", line 179, in run
15.07.16 21:25:02 [+0200] results = yield from func(bot, event, *args, **kwds)
15.07.16 21:25:02 [+0200] File "/opt/hangoutsbot/hangupsbot/plugins/pokemon.py", line 146, in pokedex
15.07.16 21:25:02 [+0200] if matchups:
15.07.16 21:25:02 [+0200] UnboundLocalError: local variable 'matchups' referenced before assignment
@MTRNord Can you please tell me which pokemon you performed the lookup on? At this stage I haven't been able to reproduce.
I couldn't reproduce it also. I think we were to fast in the chat. If it comes up again I will tell you.
When loading from cache it says:
pokedex UnboundLocalError: local variable 'matchups' referenced before assignment