diff --git a/pokemongo_bot/cell_workers/evolve_pokemon.py b/pokemongo_bot/cell_workers/evolve_pokemon.py index 48ea4316ed..7822f4379e 100644 --- a/pokemongo_bot/cell_workers/evolve_pokemon.py +++ b/pokemongo_bot/cell_workers/evolve_pokemon.py @@ -49,7 +49,7 @@ def work(self): filtered_list = filter(lambda x: x.name in self.evolve_list, filtered_list) if (len(self.donot_evolve_list) > 0) and self.donot_evolve_list[0] != 'none': - filtered_list = filter(lambda pokemon: pokemon.name not in donot_evolve_list, filtered_list) + filtered_list = filter(lambda pokemon: pokemon.name not in self.donot_evolve_list, filtered_list) cache = {} for pokemon in filtered_list: