changeset 188 | dcabf8958511 |
parent 187 | ebbcfd24d845 |
child 189 | 146e056cd1d8 |
--- 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')