Skip to content

Commit

Permalink
Update apps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JungDev authored Jan 2, 2019
1 parent 2a96e24 commit 9cdfe8d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions django_telegrambot/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9cdfe8d

Please sign in to comment.