From a6d3eafeab25ca3a3227a239c54a3b3dd9dc8719 Mon Sep 17 00:00:00 2001 From: Simba Zhang Date: Sun, 31 Jul 2016 23:07:03 -0700 Subject: [PATCH] This should fix issue: MoveToFort(self.bot).work() TypeError: __init__() takes exactly 3 arguments (2 given) --- pokemongo_bot/cell_workers/handle_soft_ban.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/cell_workers/handle_soft_ban.py b/pokemongo_bot/cell_workers/handle_soft_ban.py index 0cfa7006d9..67fa9394c5 100644 --- a/pokemongo_bot/cell_workers/handle_soft_ban.py +++ b/pokemongo_bot/cell_workers/handle_soft_ban.py @@ -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']]