Fix RSS feeds
authormpm@selenic.com
Sun, 21 Aug 2005 11:46:39 -0700
changeset 983 4a988dc8d9b8
parent 982 8d2e24bae760
child 984 edc368e0b9aa
Fix RSS feeds
mercurial/hgweb.py
--- 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 ""