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

remove equip_badge call, iso version does not add eqiup_badge to play… #4839

Merged
merged 1 commit into from
Aug 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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