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