diff roundup/cgi/templating.py @ 1728:1f8bbdff56b9

fixed generic template discovery
author Richard Jones <richard@users.sourceforge.net>
date Mon, 28 Jul 2003 23:19:21 +0000
parents 1d93289af20b
children c3f0b552a55a
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Mon Jul 28 23:17:50 2003 +0000
+++ b/roundup/cgi/templating.py	Mon Jul 28 23:19:21 2003 +0000
@@ -56,7 +56,7 @@
         return (src, generic)
 
     # finally, try _generic.html
-    generic = filename + '.html'
+    generic = generic + '.html'
     src = os.path.join(dir, generic)
     if os.path.exists(src):
         return (src, generic)

Roundup Issue Tracker: http://roundup-tracker.org/