mercurial/hgweb/hgweb_mod.py
changeset 34239 344fd1fe237b
parent 33328 c8f212cb0c83
child 34245 945c9816ec1d
--- a/mercurial/hgweb/hgweb_mod.py	Fri Jun 30 03:45:43 2017 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Jun 30 03:45:44 2017 +0200
@@ -320,7 +320,7 @@
         rctx = requestcontext(self, repo)
 
         # This state is global across all threads.
-        encoding.encoding = rctx.config('web', 'encoding', encoding.encoding)
+        encoding.encoding = rctx.config('web', 'encoding')
         rctx.repo.ui.environ = req.env
 
         if rctx.csp: