Skip to content

Commit

Permalink
Merge pull request #4839 from duttonw/equip_badge_call_not_needed
Browse files Browse the repository at this point in the history
remove equip_badge call, iso version does not add eqiup_badge to play…
  • Loading branch information
solderzzc authored Aug 28, 2016
2 parents e58855f + 2e6bf25 commit 9e30e83
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,21 +1215,8 @@ def heartbeat(self):
data={'badge': badgename,
'level' : badgelevel }
)

#todo move equip badge into its own task once working
#should work but gives errors :'(s
#response = self.api.equip_badge(badge_type=badge)
response = {'responses': "awaiting further testing on api call to equip_badge"}
self.event_manager.emit(
'badges',
sender=self,
level='info',
formatted='equiped badge: {badge}',
data={'badge': response['responses']}
)
human_behaviour.action_delay(3,10)


try:
self.web_update_queue.put_nowait(True) # do this outside of thread every tick
except Queue.Full:
Expand Down

0 comments on commit 9e30e83

Please sign in to comment.