Skip to content

Commit

Permalink
Fixed seeing catch status 3 always bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
PokemonGoF authored and PokemonGoF committed Jul 21, 2016
1 parent 5bd59d0 commit c4a880e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions working.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ def encount_and_catch_pokemon(pokemon,api,position,config):
transfer_low_cp_pokomon(api,config.cp)
else:
print('got it, keep it')
break
else:
break
break
time.sleep(5)
def _transfer_low_cp_pokemon(api,value,pokemon):
if 'cp' in pokemon and pokemon['cp'] < value:
Expand Down

0 comments on commit c4a880e

Please sign in to comment.