Use render_GET()
Implementing `render_METHOD()` is preferred over overriding render()
This commit is contained in:
parent
b14c0a0495
commit
36ecd8f384
|
@ -377,7 +377,7 @@ class DownloadStatusPage(Resource):
|
|||
self._download_status = download_status
|
||||
self.putChild("event_json", _EventJson(self._download_status))
|
||||
|
||||
def render_HTML(self, req):
|
||||
def render_GET(self, req):
|
||||
elem = DownloadStatusElement(self._download_status)
|
||||
return renderElement(req, elem)
|
||||
|
||||
|
|
Loading…
Reference in New Issue