##// END OF EJS Templates
Fixed wrong (copy&paste) usage of tmpl instead of self.t in hgweb.
Thomas Arendsen Hein -
r1796:a373881f default
parent child Browse files
Show More
@@ -1016,7 +1016,7 b' class hgweb(object):'
1016 elif req.form['cmd'][0] == 'static':
1016 elif req.form['cmd'][0] == 'static':
1017 fname = req.form['file'][0]
1017 fname = req.form['file'][0]
1018 req.write(staticfile(static, fname)
1018 req.write(staticfile(static, fname)
1019 or tmpl("error", error="%r not found" % fname))
1019 or self.t("error", error="%r not found" % fname))
1020
1020
1021 else:
1021 else:
1022 req.write(self.t("error"))
1022 req.write(self.t("error"))
General Comments 0
You need to be logged in to leave comments. Login now