mercurial/hgweb/hgwebdir_mod.py
changeset 45306 9a5c4875a88c
parent 45213 d5ccc059fbcd
child 45314 d12fba074cc6
--- a/mercurial/hgweb/hgwebdir_mod.py	Fri Jul 31 10:05:07 2020 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Mon Aug 03 22:15:45 2020 -0700
@@ -416,7 +416,7 @@
                 if not static:
                     tp = self.templatepath or templater.templatedir()
                     if tp is not None:
-                        static = [os.path.join(tp, b'static')]
+                        static = os.path.join(tp, b'static')
 
                 staticfile(static, fname, res)
                 return res.sendresponse()