mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +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
|
# so we run it sync here, instead of making a sync version of render_template
|
||||||
|
|
||||||
try:
|
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)
|
print(html, flush=True)
|
||||||
except TemplateNotFound:
|
except TemplateNotFound:
|
||||||
self.log.debug("No template for %d", status_code)
|
self.log.debug("No template for %d", status_code)
|
||||||
|
Reference in New Issue
Block a user