Skip to content

Commit

Permalink
Zero workers
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 27, 2016
1 parent 19b1921 commit 3eebb2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions django_telegrambot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.2.0'
default_app_config = 'django_telegrambot.apps.DjangoTelegramBot'
__version__ = '0.2.1'
default_app_config = 'django_telegrambot.apps.DjangoTelegramBot'
2 changes: 1 addition & 1 deletion django_telegrambot/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def ready(self):

bot = telegram.Bot(token=token)

DjangoTelegramBot.dispatchers.append(Dispatcher(bot, None))
DjangoTelegramBot.dispatchers.append(Dispatcher(bot, None, workers=0))
DjangoTelegramBot.bots.append(bot)
DjangoTelegramBot.bot_tokens.append(bot.token)
DjangoTelegramBot.bot_usernames.append(bot.username)
Expand Down

0 comments on commit 3eebb2b

Please sign in to comment.