From: Steve Losh Date: Sat, 7 Feb 2009 17:39:45 +0000 (-0500) Subject: Apparently not enough though. X-Git-Tag: 1.0.0~53^2~4^2~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5f0fab5422d8785a1693426e479a0b91f1f2962;p=be.git Apparently not enough though. --- diff --git a/web.py b/web.py index 0833884..7de7d3f 100644 --- 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."""