fix ci build error

This commit is contained in:
Neucrack
2025-02-26 17:37:49 +08:00
parent 8eb66071fa
commit 6c5950d471

View File

@@ -191,7 +191,7 @@ def rebuild(build_path, configs, toolchain_info, verbose):
save_pkgs_info(configs["SDK_PATH"], files_info)
for name, files in files_info.items():
if len(files) > 0:
if files is not None and len(files) > 0:
print(f"\n-- Download files for component {name}")
try:
download_extract_files(files)