-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
Hi!
I'm having a small def which is a repeating job, the code actually looks like this:
dp = updater.dispatcher
j = updater.job_queue
j.run_repeating(rss, 300)
After upgrading to 10.0.0 I get an exception in logs.
Configuration
Operating System: Ubuntu
Version of Python, python-telegram-bot & dependencies:
python-telegram-bot 10.0.0
certifi 2018.01.18
future 0.16.0
Python 3.6.3 (default, Oct 6 2017, 08:44:35)
Logs
AttributeError: 'NoneType' object has no attribute 'schedule_removal'
[03-03 23:51:50] [ERROR] [bot]
An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/dispatcher.py", line 279, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/conversationhandler.py", line 309, in handle_update
timeout_job.schedule_removal()
AttributeError: 'NoneType' object has no attribute 'schedule_removal'
Metadata
Metadata
Assignees
Labels
No labels