Make DownloadStatusPage a Resource
No need of this being a MultiFormatResource, because it renders just HTML.
This commit is contained in:
parent
aec6e5a9d4
commit
b14c0a0495
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue