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:
Damien Churchill 2011-11-21 22:59:58 +00:00
parent c865486f82
commit e3e20aa14f
1 changed files with 2 additions and 2 deletions

View File

@ -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: