Mercurial > hg
changeset 1795:36e19e3da12d
Fix 'hg serve' not using CSS.
hgweb.py (templatepath): Return normalized path [fixes later checks in staticfile()]
author | Lee Cantey <lcantey@gmail.com> |
---|---|
date | Thu, 23 Feb 2006 12:02:39 +0100 |
parents | 98b6c1cad58b |
children | a373881fdf2a |
files | mercurial/hgweb.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb.py Thu Feb 23 02:17:08 2006 +0100 +++ b/mercurial/hgweb.py Thu Feb 23 12:02:39 2006 +0100 @@ -19,7 +19,7 @@ for f in "templates", "../templates": p = os.path.join(os.path.dirname(__file__), f) if os.path.isdir(p): - return p + return os.path.normpath(p) def age(x): def plural(t, c):