mercurial/hgweb/webcommands.py
changeset 38215 f715faeaceee
parent 38214 2aa0217bb655
child 38482 5faaa31a6082
--- a/mercurial/hgweb/webcommands.py	Sat Apr 21 17:31:03 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Mon May 14 12:38:05 2018 +0200
@@ -1162,7 +1162,7 @@
     """
 
     type_ = web.req.qsparams.get('type')
-    allowed = web.configlist("web", "allow_archive")
+    allowed = web.configlist("web", "allow-archive")
     key = web.req.qsparams['node']
 
     if type_ not in webutil.archivespecs: