Fix 'hg serve' not using CSS.

hgweb.py (templatepath): Return normalized path [fixes later checks in staticfile()]
This commit is contained in:
Lee Cantey 2006-02-23 12:02:39 +01:00
parent b04984b4a2
commit da24f36b2f

View File

@ -19,7 +19,7 @@ def templatepath():
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):