[Cvs-annodex] commit (annodex): cmmlwiki/trunk/cmmlwiki/handler.py

conrad nobody at lists.annodex.net
Fri Jun 9 06:18:28 UTC 2006


Update of /var/local/lib/svn/annodex (new revision 2327)

Modified files:
   cmmlwiki/trunk/cmmlwiki/handler.py

Log Message:
bugfix: add PageNumbers to Substitution template list in toc


Modified: cmmlwiki/trunk/cmmlwiki/handler.py
===================================================================
--- cmmlwiki/trunk/cmmlwiki/handler.py	2006-06-06 09:25:27 UTC (rev 2326)
+++ cmmlwiki/trunk/cmmlwiki/handler.py	2006-06-09 06:18:28 UTC (rev 2327)
@@ -374,8 +374,8 @@
     total_clips = row[0]
 
     link_fmt = '%s?start=%%d' % (self.iname)
-    nums = PageNumbers (link_fmt, total_clips, start, limit)
-    s += '<h4 align="center">' + str(nums) + '</h4>'
+    s += '<h4 align="center">%s</h4>'
+    repl_list += [PageNumbers (link_fmt, total_clips, start, limit)]
 
     s += """
 </div>


-- 
conrad



More information about the cvs-annodex mailing list