From 434cb3a38da9675d304f5b916b1a235be6cb7ed4 Mon Sep 17 00:00:00 2001 From: Bima HP Date: Sat, 30 Jul 2016 00:45:14 +0700 Subject: [PATCH] Fix transfer worker not triggered for last pokemon (#1664) --- pokemongo_bot/cell_workers/pokemon_transfer_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/cell_workers/pokemon_transfer_worker.py b/pokemongo_bot/cell_workers/pokemon_transfer_worker.py index 073743acad..9030272a15 100644 --- a/pokemongo_bot/cell_workers/pokemon_transfer_worker.py +++ b/pokemongo_bot/cell_workers/pokemon_transfer_worker.py @@ -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)