upgrade_client: Fix bogus return code for GUI

This commit is contained in:
deajan 2025-01-31 19:03:24 +01:00
parent 7a7d008c73
commit 8ef5c5f86f

View file

@ -242,7 +242,7 @@ def auto_upgrader(
if file_info[file_type] and file_info[file_type]["sha256sum"] is None:
logger.info(f"No {file_type} file found has been found for me :/")
if file_type != "script":
return True
return False
for file_type in ("script", "archive"):
logger.info(f"Downloading {file_type} file for target {target_id}")