mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
1 parent
2fb25e1e50
commit
9c8518499e
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user