diff --git a/django_telegrambot/apps.py b/django_telegrambot/apps.py index 1fb5586..bcaa418 100644 --- a/django_telegrambot/apps.py +++ b/django_telegrambot/apps.py @@ -169,7 +169,7 @@ def ready(self): 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),