From 9cdfe8dfc9bb603c5bda76c8d843bfd517d1b428 Mon Sep 17 00:00:00 2001 From: JungDev Date: Wed, 2 Jan 2019 16:50:47 +0100 Subject: [PATCH] Update apps.py --- django_telegrambot/apps.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/django_telegrambot/apps.py b/django_telegrambot/apps.py index 7abdd95..c6c29ce 100644 --- a/django_telegrambot/apps.py +++ b/django_telegrambot/apps.py @@ -163,10 +163,9 @@ def ready(self): for b in bots_list: token = b.get('TOKEN', None) if not token: - break - - allowed_updates = b.get('ALLOWED_UPDATES', None) - timeout = b.get('TIMEOUT', None) + break + allowed_updates = b.get('ALLOWED_UPDATES', None) + timeout = b.get('TIMEOUT', None) proxy = b.get('PROXY', None) if self.mode == WEBHOOK_MODE: