Skip to content

Commit

Permalink
This should fix issue: (#2185)
Browse files Browse the repository at this point in the history
MoveToFort(self.bot).work()
TypeError: __init__() takes exactly 3 arguments (2 given)
  • Loading branch information
solderzzc authored Aug 1, 2016
1 parent 82f5477 commit 248ac53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/handle_soft_ban.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def work(self):
)

if fort_distance > Constants.MAX_DISTANCE_FORT_IS_REACHABLE:
MoveToFort(self.bot).work()
MoveToFort(self.bot,self.bot.config).work()
self.bot.recent_forts = self.bot.recent_forts[0:-1]
if forts[0]['id'] in self.bot.fort_timeouts:
del self.bot.fort_timeouts[forts[0]['id']]
Expand Down

0 comments on commit 248ac53

Please sign in to comment.