pvl/verkko/rrd.py
changeset 163 96d551b90734
parent 161 cc10eb9d0055
child 166 d9304aca296d
--- a/pvl/verkko/rrd.py	Mon Jan 21 18:39:23 2013 +0200
+++ b/pvl/verkko/rrd.py	Mon Jan 21 18:39:53 2013 +0200
@@ -223,7 +223,7 @@
 # WSGI
 class Application (web.Application) :
     # dispatch
-    urls = urls.Map((
+    URLS = urls.Map((
         urls.rule('/',                              Index),
         urls.rule('/<target>',                      Target),
         urls.rule('/<path:tree>/',                  Index),
@@ -231,10 +231,12 @@
         urls.rule('/<path:tree>/<target>.png',      Graph),
     ))
 
-    def __init__ (self, rrd) :
+    def __init__ (self, rrd, **opts) :
         """
             rrd     - pvl.rrd.RRDDatabase
         """
 
+        super(Application, self).__init__(**opts)
+
         self.rrd = rrd