mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-08 20:47:50 +08:00
upgrade_client: Allow failed script downloads
This commit is contained in:
parent
b8da7ece0c
commit
f7aadb32c8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue