From de19edee54a8086c516c4055491e6d4110adbe77 Mon Sep 17 00:00:00 2001 From: Reditus Date: Tue, 12 May 2026 04:11:01 +0100 Subject: [PATCH] Sync VERSION file to current commit and fix SHA comparison --- VERSION | 2 +- app/services/updater.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 667a5c2..45bfc86 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5d5c6a8 +492367a diff --git a/app/services/updater.py b/app/services/updater.py index 7111cb7..9cbe5cf 100644 --- a/app/services/updater.py +++ b/app/services/updater.py @@ -74,7 +74,7 @@ class UpdateService: with open(version_file) as f: self._current_sha = f.read().strip() - self._update_available = self._latest_sha != self._current_sha + self._update_available = self._latest_sha != self._current_sha and self._latest_sha[:7] != self._current_sha[:7] self._last_check = time.time() logger.info(f"Update check: {'available' if self._update_available else 'up to date'} (local={self._current_sha}, remote={self._latest_sha})") except Exception as e: