web/statistics: fix typo that make immutable-download stats missing

This commit is contained in:
Brian Warner 2008-04-15 11:20:04 -07:00
parent aebd80feec
commit b5d19456f4

View File

@ -847,8 +847,8 @@ class Statistics(rend.Page):
(files, bytes, abbreviate_size(bytes)))
def render_downloads(self, ctx, data):
files = data["counters"].get("downloader.files_uploaded")
bytes = data["counters"].get("downloader.bytes_uploaded")
files = data["counters"].get("downloader.files_downloaded")
bytes = data["counters"].get("downloader.bytes_downloaded")
return ("%s files / %s bytes (%s)" %
(files, bytes, abbreviate_size(bytes)))