Skip to content

Commit

Permalink
has_next_evolution is a function not a property (#3284)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebigjc authored and solderzzc committed Aug 9, 2016
1 parent 3e1dc1b commit 0f2bddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@
* nikofil
* bigkraig
* nikhil-pandey
* thebigjc
2 changes: 1 addition & 1 deletion pokemongo_bot/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def __init__(self, data):
self.iv = self._compute_iv()

def can_evolve_now(self):
return self.has_next_evolution and self.candy_quantity > self.evolution_cost
return self.has_next_evolution() and self.candy_quantity > self.evolution_cost

def has_next_evolution(self):
return 'Next Evolution Requirements' in self._static_data
Expand Down

0 comments on commit 0f2bddd

Please sign in to comment.