mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
fix jobqueue creation
This commit is contained in:
parent
8175fd7b53
commit
e27427676d
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class Updater:
|
|||
else:
|
||||
self.bot = Bot(token, base_url)
|
||||
self.update_queue = Queue()
|
||||
self.job_queue = JobQueue(bot, job_queue_tick_interval)
|
||||
self.job_queue = JobQueue(self.bot, job_queue_tick_interval)
|
||||
self.dispatcher = Dispatcher(self.bot, self.update_queue,
|
||||
workers=workers)
|
||||
self.last_update_id = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue