upgrade_client: Allow failed script downloads

This commit is contained in:
deajan 2025-01-24 17:58:08 +01:00
parent b8da7ece0c
commit f7aadb32c8

View file

@ -236,7 +236,7 @@ def auto_upgrader(
else:
logger.error(f"Cannot get file description for {file_type}")
return False
if file_info[file_type]["sha256sum"] is None:
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