web: fix using wrong Resource class
The Tracker class was still using the Resource class from Twisted instead of our own subclass that adds some fun stuff :-)
This commit is contained in:
parent
c865486f82
commit
e3e20aa14f
|
@ -176,10 +176,10 @@ class Render(Resource):
|
|||
request.setResponseCode(http.OK)
|
||||
return compress(template.render(), request)
|
||||
|
||||
class Tracker(resource.Resource):
|
||||
class Tracker(Resource):
|
||||
|
||||
def __init__(self):
|
||||
resource.Resource.__init__(self)
|
||||
Resource.__init__(self)
|
||||
try:
|
||||
self.tracker_icons = component.get("TrackerIcons")
|
||||
except KeyError:
|
||||
|
|
Loading…
Reference in New Issue