diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-06-14 16:31:41 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-06-14 16:31:41 +0200 |
commit | ef4239c68a42bd55b7af58e347a6d2e98b200928 (patch) | |
tree | 0ffa030c2d7aeaad05c2942d72a3c7e2d53fe62a /searxng_extra | |
parent | 7bc3d17b1196f6169b7f98008aa8ec34963ed55b (diff) | |
download | searxng-ef4239c68a42bd55b7af58e347a6d2e98b200928.tar.gz searxng-ef4239c68a42bd55b7af58e347a6d2e98b200928.zip |
[doc] fix some leftovers from ad964562c
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searxng_extra')
-rwxr-xr-x | searxng_extra/docs_prebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searxng_extra/docs_prebuild b/searxng_extra/docs_prebuild index 738fd17bd..c7982a047 100755 --- a/searxng_extra/docs_prebuild +++ b/searxng_extra/docs_prebuild @@ -9,7 +9,7 @@ import sys import os.path import time from contextlib import contextmanager -from searx import settings, get_setting +from searx import settings, get_setting, locales from searx.infopage import InfoPageSet, InfoPage @@ -17,6 +17,7 @@ _doc_user = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'docs' def main(): + locales.locales_initialize() base_url = get_setting('server.base_url', None) if base_url: infopageset_ctx = _instance_infosetset_ctx(base_url) |