]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
web/statistics: fix typo that make immutable-download stats missing
authorBrian Warner <warner@allmydata.com>
Tue, 15 Apr 2008 18:20:04 +0000 (11:20 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 15 Apr 2008 18:20:04 +0000 (11:20 -0700)
src/allmydata/web/status.py

index 917c265f5cb32fc789449c39fed7d0afaab85216..06e9f0101ad42b1d3097678ce8813acccab9caf8 100644 (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)))