# HG changeset patch # User Arne Babenhauserheide # Date 1242263237 -7200 # Node ID 6bdb1b20d8389adf877105d3841121f4274e1ae6 # Parent b1b6c75efced5ae6fb48889c8cfa06bc81c113fd Fixed random quote code. diff -r b1b6c75efced -r 6bdb1b20d838 hgscm/apps/www/templatetags/extras.py --- 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)