mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
parent
2fb25e1e50
commit
9c8518499e
@ -62,8 +62,8 @@ def about(request):
|
|||||||
def manual(request):
|
def manual(request):
|
||||||
"""Serve the manual page from the 'doc' directory"""
|
"""Serve the manual page from the 'doc' directory"""
|
||||||
try:
|
try:
|
||||||
with open(os.path.join(cfg.doc_dir, 'freedombox-manual.part.html'), 'r') \
|
with open(os.path.join(cfg.doc_dir, 'freedombox-manual.part.html'),
|
||||||
as input_file:
|
'r', encoding='utf-8') as input_file:
|
||||||
content = input_file.read()
|
content = input_file.read()
|
||||||
except IOError:
|
except IOError:
|
||||||
raise Http404
|
raise Http404
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user