X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4e1e166c6a3f4b83c114eb22babca0a4eee3f96e..bd951819916c9357e82dcb4c84c06064772c36f4:/nominatim/version.py diff --git a/nominatim/version.py b/nominatim/version.py index d4f69da1..88d42af9 100644 --- a/nominatim/version.py +++ b/nominatim/version.py @@ -37,8 +37,8 @@ GIT_COMMIT_HASH = None # pylint: disable=consider-using-f-string -def version_str(): +def version_str(version=NOMINATIM_VERSION): """ Return a human-readable string of the version. """ - return '{}.{}.{}-{}'.format(*NOMINATIM_VERSION) + return '{}.{}.{}-{}'.format(*version)