mercurial/hgweb/webcommands.py
changeset 45327 9a5c4875a88c
parent 45237 86f9b25d750b
child 45397 da3b7c80aa34
--- a/mercurial/hgweb/webcommands.py	Fri Jul 31 10:05:07 2020 -0700
+++ b/mercurial/hgweb/webcommands.py	Mon Aug 03 22:15:45 2020 -0700
@@ -1320,7 +1320,7 @@
     static = web.config(b"web", b"static", untrusted=False)
     if not static:
         tp = web.templatepath or templater.templatedir()
-        static = [os.path.join(tp, b'static')]
+        static = os.path.join(tp, b'static')
 
     staticfile(static, fname, web.res)
     return web.res.sendresponse()