From 7f988e32bceae25c59774ba5741ec094110663e4 Mon Sep 17 00:00:00 2001 From: JungDev Date: Wed, 2 Jan 2019 16:26:48 +0100 Subject: [PATCH] Update apps.py --- django_telegrambot/apps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django_telegrambot/apps.py b/django_telegrambot/apps.py index bcaa418..7abdd95 100644 --- a/django_telegrambot/apps.py +++ b/django_telegrambot/apps.py @@ -168,8 +168,8 @@ def ready(self): allowed_updates = b.get('ALLOWED_UPDATES', None) timeout = b.get('TIMEOUT', None) proxy = b.get('PROXY', None) - - if self.mode == WEBHOOK_MODE: + + if self.mode == WEBHOOK_MODE: try: if b.get('MESSAGEQUEUE_ENABLED',False): q = mq.MessageQueue(all_burst_limit=b.get('MESSAGEQUEUE_ALL_BURST_LIMIT',29),