mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] preferences.py: check language setting with a regex instead of match_language
This commit is contained in:
parent
fd5fe36984
commit
507896c115
4 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from typing import Dict, List, Optional, Tuple
|
||||
from searx.exceptions import SearxParameterException
|
||||
from searx.query import RawTextQuery, VALID_LANGUAGE_CODE
|
||||
from searx.webutils import VALID_LANGUAGE_CODE
|
||||
from searx.query import RawTextQuery
|
||||
from searx.engines import categories, engines
|
||||
from searx.search import SearchQuery, EngineRef
|
||||
from searx.preferences import Preferences
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue