From b14c0a0495020b0bf39bdb6a1804f2f0acf63184 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 23 Jun 2020 18:06:54 -0400 Subject: [PATCH] Make DownloadStatusPage a Resource No need of this being a MultiFormatResource, because it renders just HTML. --- src/allmydata/web/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py index e6e422f6f..4f715fd5d 100644 --- a/src/allmydata/web/status.py +++ b/src/allmydata/web/status.py @@ -366,7 +366,7 @@ class _EventJson(Resource, object): return json.dumps(data, indent=1) + "\n" -class DownloadStatusPage(MultiFormatResource): +class DownloadStatusPage(Resource): """Renders /status/down-%d.""" def __init__(self, download_status):