constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit b97ce3a6ecba3f2c48912e651bdf305fb24bd268
parent 049eaf9b2d704f23621c167dbbfab51d4f5963c0
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sat, 20 Nov 2010 13:17:36 +1000

fix reading log atom

Diffstat:
Mreading.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/reading.py b/reading.py
@@ -25,8 +25,9 @@ class ReadingLogEntry(object):
         self.tags = frozenset()
         self.guid = yaml_dict['GUID']
 
-    def generate_atom(self):
-        return template_loader.load('entry.atom').generate(item=self)
+    def generate_atom(self, template_config):
+        return template_loader.load('entry.atom').generate(item=self,
+                template_config=template_config)
 
 class ReadingLogEntrySet(object):