mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-11-09 17:04:38 -06:00
fix json package error
This commit is contained in:
@@ -288,7 +288,7 @@ def download_extract_files(items):
|
||||
if "sha256sum" in item and item["sha256sum"]:
|
||||
ok, sha256sum = check_sha256sum(pkg_path, item["sha256sum"])
|
||||
if not ok:
|
||||
print("-- Error: sha256sum check failed, should be {}, but files's sha256sum is {}.\n Please download this file manually".format(item["sha256sum"], sha256sum))
|
||||
print("-- Error: sha256sum check failed, should be '{}', but files's sha256sum is '{}'.\n Please download this file manually".format(item["sha256sum"], sha256sum))
|
||||
sys.exit(1)
|
||||
# extract_dir not empty means already extracted, continue
|
||||
need_extract = False
|
||||
|
||||
Reference in New Issue
Block a user