mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
uhd_images_downloader: more descriptive error when MD5 check fails
This commit is contained in:
parent
ad8b21377d
commit
57e5360ea9
1 changed files with 2 additions and 0 deletions
|
|
@ -123,8 +123,10 @@ if __name__ == "__main__":
|
|||
if images_zip_md5sum != downloaded_zip_md5sum:
|
||||
print "\nMD5 checksum does not match!"
|
||||
print "Expected %s, got %s" % (images_zip_md5sum, downloaded_zip_md5sum)
|
||||
print "Images did not install. If problem persists, please contact support@ettus.com."
|
||||
os.remove(filename)
|
||||
os.chdir("/".join(images_dir.split("/")[:-1]))
|
||||
sys.exit(1)
|
||||
else:
|
||||
temp_path = "tempdir"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue