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