changeset 45320 | 4aa484efc926 |
parent 45318 | 1a4f925f72c3 |
child 45682 | d2e1dcd4490d |
--- a/mercurial/hgweb/hgweb_mod.py Wed Aug 05 22:13:51 2020 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Thu Aug 06 09:50:10 2020 -0700 @@ -78,7 +78,7 @@ locations = (os.path.join(style, b'map'), b'map-' + style, b'map') for location in locations: - mapfile, fp = templater.open_template(location, path) + mapfile, fp = templater.try_open_template(location, path) if mapfile: return style, mapfile, fp