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

Remove spaces in custom keep best #5063

Merged
merged 1 commit into from
Sep 1, 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
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/transfer_pokemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down