Loading searx/version.py +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ import os import shlex import subprocess import logging import importlib from importlib.metadata import version # fallback values # if there is searx.version_frozen module, and it is not possible to get the git tag Loading Loading @@ -74,8 +74,8 @@ def get_git_version(): try: vf = importlib.import_module('searx.version_frozen') VERSION_STRING, VERSION_TAG, GIT_URL, GIT_BRANCH = vf.VERSION_STRING, vf.VERSION_TAG, vf.GIT_URL, vf.GIT_BRANCH vf = version('spot') VERSION_STRING = VERSION_TAG = vf except ImportError: try: try: Loading Loading
searx/version.py +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ import os import shlex import subprocess import logging import importlib from importlib.metadata import version # fallback values # if there is searx.version_frozen module, and it is not possible to get the git tag Loading Loading @@ -74,8 +74,8 @@ def get_git_version(): try: vf = importlib.import_module('searx.version_frozen') VERSION_STRING, VERSION_TAG, GIT_URL, GIT_BRANCH = vf.VERSION_STRING, vf.VERSION_TAG, vf.GIT_URL, vf.GIT_BRANCH vf = version('spot') VERSION_STRING = VERSION_TAG = vf except ImportError: try: try: Loading