From 9fed1107f6880ad054fa093d9728b8b9b51747f5 Mon Sep 17 00:00:00 2001 From: JungDev Date: Wed, 2 Jan 2019 16:39:41 +0100 Subject: [PATCH] Update apps.py --- django_telegrambot/apps.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django_telegrambot/apps.py b/django_telegrambot/apps.py index 7abdd95..898c109 100644 --- a/django_telegrambot/apps.py +++ b/django_telegrambot/apps.py @@ -168,7 +168,6 @@ 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: try: if b.get('MESSAGEQUEUE_ENABLED',False):