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

Refactored code

Testrun
This commit is contained in:
Ozzie Isaacs
2021-03-15 09:55:59 +01:00
parent 994bc8b0e4
commit 9a963bbe79
7 changed files with 1532 additions and 766 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 __, user, __, task in tasklist:
if user == current_user.nickname or current_user.role_admin():
ret = {}
if task.start_time: