From b5d19456f40f39abc07716659d16d9a841f45940 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Tue, 15 Apr 2008 11:20:04 -0700
Subject: [PATCH] web/statistics: fix typo that make immutable-download stats
 missing

---
 src/allmydata/web/status.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py
index 917c265f..06e9f010 100644
--- a/src/allmydata/web/status.py
+++ b/src/allmydata/web/status.py
@@ -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)))
 
-- 
2.45.2