diff --git a/pokemongo_bot/cell_workers/transfer_pokemon.py b/pokemongo_bot/cell_workers/transfer_pokemon.py index 9ae9a30a9a..8388d9a756 100644 --- a/pokemongo_bot/cell_workers/transfer_pokemon.py +++ b/pokemongo_bot/cell_workers/transfer_pokemon.py @@ -253,7 +253,7 @@ def _validate_keep_best_config_custom(self, pokemon_name, keep_best_possible_cus if keep_best_custom and keep_amount: keep_best = True - keep_best_custom = keep_best_custom.split(',') + keep_best_custom = keep_best_custom.replace(' ','').split(',') for _str in keep_best_custom: if _str not in keep_best_possible_custom: keep_best = False