From 56f841fb521f8c62709cf665597b503cc0670df8 Mon Sep 17 00:00:00 2001 From: joaodragao Date: Thu, 11 Aug 2016 17:32:35 +0100 Subject: [PATCH 1/2] Fix `MoveToFort.config` None to Empty {} dict Whenever the bot ticks, `config.get('enable', True)` is required --- 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 8018b7c33e..cf88eeac83 100644 --- a/pokemongo_bot/cell_workers/handle_soft_ban.py +++ b/pokemongo_bot/cell_workers/handle_soft_ban.py @@ -29,7 +29,7 @@ def work(self): ) if fort_distance > Constants.MAX_DISTANCE_FORT_IS_REACHABLE: - MoveToFort(self.bot, config=None).work() + MoveToFort(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']] From 0a7fed3987fc2cc043e08fd8819987fa50fd4088 Mon Sep 17 00:00:00 2001 From: joaodragao Date: Thu, 11 Aug 2016 17:34:03 +0100 Subject: [PATCH 2/2] Add new contributor --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7374cfa94d..7606647a3c 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -64,3 +64,4 @@ * cmezh * Nivong * kestel + * joaodragao