Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for bad PokemonGo-Map response #4370

Merged
merged 13 commits into from
Aug 20, 2016
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/move_to_map_pokemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get_pokemon_from_map(self):
for pokemon in raw_data['pokemons']:
try:
pokemon['encounter_id'] = long(base64.b64decode(pokemon['encounter_id']))
except TypeError:
except:
self._emit_failure('base64 error: {}'.format(pokemon['encounter_id']))
continue
pokemon['spawn_point_id'] = pokemon['spawnpoint_id']
Expand Down