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

Updated initial_transfer, show names of releases #449

Merged
merged 1 commit into from
Jul 23, 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
6 changes: 3 additions & 3 deletions pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@ def initial_transfer(self):
if self.config.cp and group_cp[x] > self.config.cp:
continue

print('[x] Releasing Pokemon #{} and CP {}'.format(
id, group_cp[x]))
print('[x] Transferring {} with CP {}'.format(
self.pokemon_list[id-1]['Name'], group_cp[x]))
self.api.release_pokemon(
pokemon_id=pokemon_groups[id][group_cp[x]])
response_dict = self.api.call()
sleep(2)

print('[x] Transfering Done.')
print('[x] Transferring Done.')

def _initial_transfer_get_groups(self):
pokemon_groups = {}
Expand Down