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

Fix #5461wrong documentation #5598

Merged
merged 7 commits into from
Sep 22, 2016
Merged

Fix #5461wrong documentation #5598

merged 7 commits into from
Sep 22, 2016

Conversation

sechlol
Copy link
Contributor

@sechlol sechlol commented Sep 22, 2016

#5461 is due to wrong syntax in the documentation, as it mentions "never_capture" instead of "never_catch"

from pokemon_catch_worker.py:

if pokemon_config.get('never_catch', False):
    return False

if pokemon_config.get('always_catch', False):
    return True

Gobberwart and others added 6 commits September 17, 2016 08:34
Corrected run transferpokemon every tick
PokemonGoF#5461 is due to wrong syntax in the documentation, as it mentions "never_capture" instead of "never_catch" 

from pokemon_catch_worker.py:
```python
if pokemon_config.get('never_catch', False):
    return False

if pokemon_config.get('always_catch', False):
    return True
```
@mention-bot
Copy link

@sech90, thanks for your PR! By analyzing the annotation information on this pull request, we identified @TheSavior, @supercourgette and @DeXtroTip to be potential reviewers

@Gobberwart
Copy link
Contributor

Can you please fix "always_capture" as well, eg. "you can specify always_catch and never_catch flags"

replaced "always_capture" occurrences with "always_catch"
@sechlol
Copy link
Contributor Author

sechlol commented Sep 22, 2016

Done :)

Copy link
Contributor

@Gobberwart Gobberwart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@Gobberwart Gobberwart merged commit 120a20d into PokemonGoF:dev Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants