changeset 36278 | a87093e2805d |
parent 36258 | af0a19d8812b |
child 36518 | 7937850a523d |
--- a/mercurial/hgweb/hgweb_mod.py Sat Feb 17 22:39:38 2018 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Sat Feb 17 22:52:24 2018 -0500 @@ -63,8 +63,6 @@ def getstyle(req, configfn, templatepath): fromreq = req.form.get('style', [None])[0] - if fromreq is not None: - fromreq = pycompat.sysbytes(fromreq) styles = ( fromreq, configfn('web', 'style'),