mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-29 06:17:40 +00:00
Update optional-requirements
Bugfix with serializing tasks Bugfix order of tasks (id was used instead of task_id) Code cosmetics
This commit is contained in:
@@ -45,7 +45,7 @@ def get_scheduled_tasks(reconnect=True):
|
||||
|
||||
def end_scheduled_tasks():
|
||||
worker = WorkerThread.get_instance()
|
||||
for __, __, __, task in worker.tasks:
|
||||
for __, __, __, task, __ in worker.tasks:
|
||||
if task.scheduled and task.is_cancellable:
|
||||
worker.end_task(task.id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user