diff options
| -rw-r--r-- | searx/help/en/about.md (renamed from searx/help/about.md) | 0 | ||||
| -rw-r--r-- | searx/user_help.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/searx/help/about.md b/searx/help/en/about.md index dd7cd4515..dd7cd4515 100644 --- a/searx/help/about.md +++ b/searx/help/en/about.md diff --git a/searx/user_help.py b/searx/user_help.py index ae08ce760..1914c7c84 100644 --- a/searx/user_help.py +++ b/searx/user_help.py @@ -47,7 +47,7 @@ def render(app: flask.Flask): define_link_targets = ''.join(f'[{name}]: {url}\n' for name, url in link_targets.items()) for pagename in _TOC: - file_content = pkg_resources.resource_string(__name__, 'help/' + pagename + '.md').decode() + file_content = pkg_resources.resource_string(__name__, 'help/en/' + pagename + '.md').decode() markdown = define_link_targets + file_content assert file_content.startswith('# ') title = file_content.split('\n', maxsplit=1)[0].strip('# ') |