Skip to content
Snippets Groups Projects
Commit 60060d9b authored by Marcus Gursch's avatar Marcus Gursch
Browse files

fix hash check

parent e5a1de19
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ if __name__ == "__main__":
sys.exit()
else:
subprocess.run(["env", "--chdir=data", "wget", "https://datashare.ed.ac.uk/bitstream/handle/10283/3443/VCTK-Corpus-0.92.zip"])
with open("VCTK-Corpus-0.92.zip", 'rb', buffering=0) as f:
with open("data/VCTK-Corpus-0.92.zip", 'rb', buffering=0) as f:
sha256 = hashlib.file_digest(f, 'sha256').hexdigest()
assert(sha256 == "f96258be9fdc2cbff6559541aae7ea4f59df3fcaf5cf963aae5ca647357e359c")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment