From b9dd575b91db3e71309d85c839c31fa6dc4eab5a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 4 Jan 2024 22:34:04 +0100 Subject: [PATCH] fix if --- autoupdate_app_sources/autoupdate_app_sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index 72a418d..72dde3c 100644 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -162,7 +162,7 @@ class AppAutoUpdater: print(f"\n Checking {source} ...") - if strategy == "latest_github_release": + if strategy == "latest_github_release" & asset != "tarball": ( new_version, new_asset_urls, @@ -229,7 +229,7 @@ class AppAutoUpdater: return bool(todos) if "main" in todos: - if strategy == "latest_github_release": + if strategy == "latest_github_release" & asset != "tarball": message = f"Upgrade to v{new_version}\nChangelog: {changelog_url}" else: message = f"Upgrade to v{new_version}"