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: