parent
2643975c3c
commit
4cef4012e5
@ -153,7 +153,7 @@ def qute_help(win_id, request):
|
||||
"""Handler for qute:help. Return HTML content as bytes."""
|
||||
try:
|
||||
utils.read_file('html/doc/index.html')
|
||||
except FileNotFoundError:
|
||||
except OSError:
|
||||
html = jinja.env.get_template('error.html').render(
|
||||
title="Error while loading documentation",
|
||||
url=request.url().toDisplayString(),
|
||||
|
Loading…
Reference in New Issue
Block a user