lookup.py
changeset 47 2cceeb731950
parent 46 73aef9705d6c
child 50 400ad4ffc150
--- a/lookup.py	Sun Feb 08 03:38:46 2009 +0200
+++ b/lookup.py	Mon Feb 09 04:38:48 2009 +0200
@@ -16,14 +16,14 @@
         (template.TEMPLATE_EXT,     page.TemplatePage       ),
     ]
 
-    def __init__ (self, path, template) :
+    def __init__ (self, path, templates) :
         """
             Create, path is where the pages are stored. The list of pages is loaded from $path/list
         """
         
         # store
         self.path = path 
-        self.template = template
+        self.templates = templates
 
         # load the page tree
         self.tree = page_tree.PageTree(path + '/list')