Skip to content

Commit

Permalink
Change FortID to FortName (#2249)
Browse files Browse the repository at this point in the history
Making it more human readable. I did not test this change, just used the same field from movetofort line 41 and spin fort line 33.
  • Loading branch information
leadboots5 authored and solderzzc committed Aug 1, 2016
1 parent 494bc05 commit c4b913c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/catch_lured_pokemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_lured_pokemon(self):
encounter_id = fort.get('lure_info', {}).get('encounter_id', None)

if encounter_id:
logger.log('Lured pokemon at fort {}'.format(fort['id']))
logger.log('Lured pokemon at fort {}'.format(fort_name))
return {
'encounter_id': encounter_id,
'fort_id': fort['id'],
Expand Down

2 comments on commit c4b913c

@theVDude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think a similar change could be made for the web page?

@DimaVIII
Copy link

@DimaVIII DimaVIII commented on c4b913c Aug 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WHY... I loved this feature... you can always check the ID on http://www.mapapokemongo.com/stops/f08c2e6d331a4bb7aca4c5cf05ab331d.16

Please sign in to comment.