Skip to content

Commit

Permalink
Fix for #3190 (#3197)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigkraig authored and solderzzc committed Aug 9, 2016
1 parent 8a2a52b commit 5e3179b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@
* Moonlight-Angel
* mjmadsen
* nikofil
* bigkraig
2 changes: 2 additions & 0 deletions pokemongo_bot/cell_workers/pokemon_catch_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def _use_berry(self, berry_id, berry_count, encounter_id, catch_rate_by_ball, cu

# softban?
else:
new_catch_rate_by_ball = catch_rate_by_ball
self.emit_event(
'softban',
level='warning',
Expand All @@ -260,6 +261,7 @@ def _use_berry(self, berry_id, berry_count, encounter_id, catch_rate_by_ball, cu

# unknown status code
else:
new_catch_rate_by_ball = catch_rate_by_ball
self.emit_event(
'threw_berry_failed',
formatted='Unknown response when throwing berry: {status_code}.',
Expand Down

0 comments on commit 5e3179b

Please sign in to comment.