From b01ba5d8a128bf5e179b63b4d5f67ca905a3cec9 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 16 Feb 2026 19:41:27 +0100 Subject: [PATCH] UI - Use version from code in version tab --- changedetectionio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 4369a6d3b..d4af95a0c 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -610,7 +610,7 @@ def main(): @app.context_processor def inject_template_globals(): - return dict(right_sticky="v{}".format(datastore.data['version_tag']), + return dict(right_sticky="v"+__version__, new_version_available=app.config['NEW_VERSION_AVAILABLE'], has_password=datastore.data['settings']['application']['password'] != False, socket_io_enabled=datastore.data['settings']['application'].get('ui', {}).get('socket_io_enabled', True),