summaryrefslogtreecommitdiffstats
path: root/module/web/ajax/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/ajax/views.py')
-rw-r--r--module/web/ajax/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/ajax/views.py b/module/web/ajax/views.py
index 2c807f6c9..b1fe2f676 100644
--- a/module/web/ajax/views.py
+++ b/module/web/ajax/views.py
@@ -108,12 +108,12 @@ def links(request):
ids.append(link['id'])
if link['status'] == 12:
- link['info'] = "%s @ %s kb/s" % (format_time(link['eta']), round(link['speed'], 2))
+ link['info'] = "%s @ %s kb/s" % (link['format_eta'], round(link['speed'], 2))
elif link['status'] == 5:
link['percent'] = 0
link['size'] = 0
link['kbleft'] = 0
- link['info'] = _("waiting %s") % format_time(link['wait_until'] - time.time())
+ link['info'] = _("waiting %s") % link['format_wait']
else:
link['info'] = ""