Skip to content

Commit

Permalink
Fix transfer worker not triggered for last pokemon (#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
bimahp authored and elicwhite committed Jul 29, 2016
1 parent bd5518f commit 434cb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/pokemon_transfer_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def work(self):
for pokemon_id in pokemon_groups:
group = pokemon_groups[pokemon_id]

if len(group) > 1:
if len(group) > 0:
pokemon_name = self.pokemon_list[pokemon_id - 1]['Name']
keep_best, keep_best_cp, keep_best_iv = self._validate_keep_best_config(pokemon_name)

Expand Down

0 comments on commit 434cb3a

Please sign in to comment.