From 6d8f2c74a9e5b746193e88811f305627562c48f9 Mon Sep 17 00:00:00 2001 From: bzorn Date: Sun, 20 Oct 2024 10:54:00 +0300 Subject: [PATCH] fixed latest version in check_for_updates --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4f93d0b..56853fc 100644 --- a/main.py +++ b/main.py @@ -89,7 +89,7 @@ def check_for_updates(self) -> str | None: if not response: return None latest_version = None - for release in response: + for release in reversed(response): version = release["tag_name"] if APP_BRANCH in version: latest_version = version