diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-07-30 18:57:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 18:57:00 +0200 |
| commit | 38ee88b3905148460e30982715277e7b30857629 (patch) | |
| tree | 61cf8004cc09fefeffaafb082b8ce86a1c959da4 /searx/utils.py | |
| parent | 3b97657f3bbe9bd84a99d46ad1e26391d62ba496 (diff) | |
| parent | 5b3eeb6e54d4b88adccdf847c32d8102ff6202a5 (diff) | |
Merge pull request #229 from dalf/version-from-git
version based on git
Diffstat (limited to 'searx/utils.py')
| -rw-r--r-- | searx/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/utils.py b/searx/utils.py index 285546043..5e2ab18c4 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -16,7 +16,7 @@ from babel.core import get_global from searx import settings from searx.data import USER_AGENTS -from searx.version import VERSION_STRING +from searx.version import VERSION_TAG from searx.languages import language_codes from searx.exceptions import SearxXPathSyntaxException, SearxEngineXPathException from searx import logger @@ -44,7 +44,7 @@ NOTSET = NotSetClass() def searx_useragent(): """Return the searx User Agent""" return 'searx/{searx_version} {suffix}'.format( - searx_version=VERSION_STRING, + searx_version=VERSION_TAG, suffix=settings['outgoing']['useragent_suffix']).strip() |