diff options
Diffstat (limited to 'searx/webutils.py')
| -rw-r--r-- | searx/webutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webutils.py b/searx/webutils.py index 2900c0edd..6dd0243d8 100644 --- a/searx/webutils.py +++ b/searx/webutils.py @@ -11,6 +11,8 @@ from codecs import getincrementalencoder from searx import logger +VALID_LANGUAGE_CODE = re.compile(r'^[a-z]{2,3}(-[a-zA-Z]{2})?$') + logger = logger.getChild('webutils') |