hgwebdir_mod: fix a performance issue with static files

This commit is contained in:
Patrick Mezard 2009-01-03 01:00:46 +01:00
parent 3d1747bbc3
commit b49af937a1

View File

@ -130,7 +130,7 @@ class hgwebdir(object):
else:
fname = req.form['static'][0]
static = templater.templatepath('static')
return staticfile(static, fname, req)
return (staticfile(static, fname, req),)
# top-level index
elif not virtual: