From a60fce9432a3c6e3f305b2300c9702329b74f69e Mon Sep 17 00:00:00 2001 From: Herman Snevajs Date: Fri, 7 Aug 2026 08:20:14 +0200 Subject: [PATCH] Apply default_version() when version is empty string --- server/mergin/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mergin/config.py b/server/mergin/config.py index 15773799..cfe77654 100644 --- a/server/mergin/config.py +++ b/server/mergin/config.py @@ -104,7 +104,7 @@ class Configuration(object): "ENABLE_SUPERADMIN_ASSIGNMENT", default=True, cast=bool ) # backend version - VERSION = config("VERSION", default=get_version()) + VERSION = config("VERSION", default="") or get_version() SERVER_TYPE = config("SERVER_TYPE", default="ce") # whether to run flask app with gevent worker type in gunicorn