Skip to content

Commit

Permalink
Revert #3500 Fix error when MoveToFort called from handle_soft_ban.py (
Browse files Browse the repository at this point in the history
…#3772)

Useless since #3629 was merged
  • Loading branch information
cmezh authored and elicwhite committed Aug 12, 2016
1 parent 5a8a95a commit cd084b7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pokemongo_bot/cell_workers/move_to_fort.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ class MoveToFort(BaseTask):

def initialize(self):
self.lure_distance = 0
if self.config:
self.lure_attraction = self.config.get("lure_attraction", True)
self.lure_max_distance = self.config.get("lure_max_distance", 2000)
self.ignore_item_count = self.config.get("ignore_item_count", False)
else:
self.lure_attraction = None
self.ignore_item_count = True
self.lure_attraction = self.config.get("lure_attraction", True)
self.lure_max_distance = self.config.get("lure_max_distance", 2000)
self.ignore_item_count = self.config.get("ignore_item_count", False)

def should_run(self):
has_space_for_loot = self.bot.has_space_for_loot()
Expand Down

0 comments on commit cd084b7

Please sign in to comment.