]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - webapp/handlers_iuse.py
Major update of the webapp.
[people/shoehn/ipfire.org.git] / webapp / handlers_iuse.py
index 5d3c83c0cfbea5f3d913fe5308634ba3af914bc0..4428afd8e19c2d7361ea7d99d022d20bea09342d 100644 (file)
@@ -9,14 +9,6 @@ from handlers_base import *
 import backend
 
 class IUseImage(BaseHandler):
-       @property
-       def iuse(self):
-               return backend.IUse()
-
-       @property
-       def stasy(self):
-               return backend.Stasy()
-
        def get_error_html(self, status_code, **kwargs):
                """
                        Select a random image from the errors directory
@@ -59,7 +51,7 @@ class IUseImage(BaseHandler):
                                raise tornado.web.HTTPError(404, "Profile '%s' was not found." % profile_id)
 
                        # Render the image
-                       image = image_cls(self, profile).to_string()
+                       image = image_cls(self.backend, self, profile).to_string()
 
                        # Save the image to the memcache for 15 minutes
                        self.memcached.set(mem_id, image, 15*60)