mercurial/hgweb/webcommands.py
changeset 39793 536f22d6c2c5
parent 39784 be0f32ca2671
child 39794 4f44f747f094
--- a/mercurial/hgweb/webcommands.py	Sun Sep 23 17:01:26 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Sun Sep 23 16:15:48 2018 +0900
@@ -1221,7 +1221,7 @@
     fname = web.req.qsparams['file']
     # a repo owner may set web.static in .hg/hgrc to get any file
     # readable by the user running the CGI script
-    static = web.config("web", "static", None, untrusted=False)
+    static = web.config("web", "static", untrusted=False)
     if not static:
         tp = web.templatepath or templater.templatepaths()
         if isinstance(tp, str):