mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
Fix typo in format string
This commit is contained in:
@@ -1264,7 +1264,7 @@ class BaseHandler(RequestHandler):
|
||||
# so we run it sync here, instead of making a sync version of render_template
|
||||
|
||||
try:
|
||||
html = self.render_template('%.html' % status_code, sync=True, **ns)
|
||||
html = self.render_template('%s.html' % status_code, sync=True, **ns)
|
||||
print(html, flush=True)
|
||||
except TemplateNotFound:
|
||||
self.log.debug("No template for %d", status_code)
|
||||
|
Reference in New Issue
Block a user