Apparently not enough though.
authorSteve Losh <steve@stevelosh.com>
Sat, 7 Feb 2009 17:39:45 +0000 (12:39 -0500)
committerSteve Losh <steve@stevelosh.com>
Sat, 7 Feb 2009 17:39:45 +0000 (12:39 -0500)
web.py

diff --git a/web.py b/web.py
index 0833884a3a376210846f39e81a3959a5fdc0a597..7de7d3fe83ed8465e6fa21404d2ac03affdf22a1 100644 (file)
--- a/web.py
+++ b/web.py
@@ -16,7 +16,7 @@ class WebInterface:
         self.bd = bugdir.BugDir(root=self.bug_root)
         self.repository_name = self.bd.root.split('/')[-1]
         self.env = Environment(loader=FileSystemLoader(template_root))
-        env.filters['datetimeformat'] = datetimeformat
+        self.env.filters['datetimeformat'] = datetimeformat
     
     def get_common_information(self):
         """Returns a dict of common information that most pages will need."""