Skip to content

Commit

Permalink
Format ivcp output when future release pokemon event is triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
javajohnHub committed Sep 16, 2016
1 parent 6f5325f commit 7186f55
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -199,7 +199,7 @@ def should_release_pokemon(self, pokemon, keep_best_mode=False):
if logic_to_function[cp_iv_logic](*release_results.values()):
self.emit_event(
'future_pokemon_release',
formatted="*Releasing {}* CP: {}, IV: {}, IVCP: {} | based on rule: CP < {} {} IV < {} IVCP < {}".format(pokemon.name, pokemon.cp, pokemon.iv, pokemon.ivcp,
formatted="*Releasing {}* CP: {}, IV: {}, IVCP: {:.2f} | based on rule: CP < {} {} IV < {} IVCP < {}".format(pokemon.name, pokemon.cp, pokemon.iv, pokemon.ivcp,
release_cp, cp_iv_logic.upper(),release_iv, release_ivcp),
data={
'pokemon': pokemon.name,
Expand Down

0 comments on commit 7186f55

Please sign in to comment.