1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-13 14:47:40 +00:00

Fix for deleting old, completed tasks

(cherry picked from commit e066d7a4b0f47d3327696a11795cdc923ff0f6f3)
This commit is contained in:
blitzmann
2020-08-27 21:44:28 -04:00
parent 6322919bc7
commit 572ac4a17b
2 changed files with 38 additions and 15 deletions

View File

@@ -730,7 +730,7 @@ def format_runtime(runtime):
# helper function to apply localize status information in tasklist entries
def render_task_status(tasklist):
renderedtasklist = list()
for user, added, task in tasklist:
for num, user, added, task in tasklist:
if user == current_user.nickname or current_user.role_admin():
ret = {}
if task.start_time: