changeset 169:6bdb1b20d838

Fixed random quote code.
author Arne Babenhauserheide <bab@draketo.de>
date Thu, 14 May 2009 03:07:17 +0200
parents b1b6c75efced
children 6ebe8ec48a77
files hgscm/apps/www/templatetags/extras.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgscm/apps/www/templatetags/extras.py	Thu May 14 00:44:55 2009 +0200
+++ b/hgscm/apps/www/templatetags/extras.py	Thu May 14 03:07:17 2009 +0200
@@ -36,7 +36,7 @@
 
 class RandomQuoteNode(template.Node):
     def __init__(self):
-        pass
+        self._filename = settings.MERCURIAL_QUOTES
 
     def render(self, context):
         f = open(self._filename)