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