changeset 983:4a988dc8d9b8

Fix RSS feeds
author mpm@selenic.com
date Sun, 21 Aug 2005 11:46:39 -0700
parents 8d2e24bae760
children edc368e0b9aa
files mercurial/hgweb.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Sat Aug 20 13:11:36 2005 -0700
+++ b/mercurial/hgweb.py	Sun Aug 21 11:46:39 2005 -0700
@@ -628,8 +628,9 @@
         m = os.path.join(t, "map")
         if args.has_key('style'):
             b = os.path.basename("map-" + args['style'][0])
-            p = os.path.join(self.templates, b)
+            p = os.path.join(t, b)
             if os.path.isfile(p): m = p
+        print m
 
         port = os.environ["SERVER_PORT"]
         port = port != "80" and (":" + port) or ""