X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2bab0ca060ff224091b20a0ac808a3febaba04b1..e1041151348edf134499e3ba8549dd825dbcead9:/src/nominatim_api/status.py diff --git a/src/nominatim_api/status.py b/src/nominatim_api/status.py index ec6ce5d6..ea88a467 100644 --- a/src/nominatim_api/status.py +++ b/src/nominatim_api/status.py @@ -14,7 +14,7 @@ import dataclasses import sqlalchemy as sa from .connection import SearchConnection -from .version import NOMINATIM_API_VERSION, parse_version +from .version import NOMINATIM_API_VERSION @dataclasses.dataclass class StatusResult: @@ -44,7 +44,7 @@ async def get_status(conn: SearchConnection) -> StatusResult: # Database version try: - status.database_version = parse_version(await conn.get_property('database_version')) + status.database_version = await conn.get_property('database_version') except ValueError: pass