mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
[doc] fix some leftovers from ad964562c
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
7bc3d17b11
commit
ef4239c68a
3 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue