mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +00:00
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
Block a user