Unverified Commit 467b841a authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

do not re-download from GDrive if file is already present (#5805)

parent 78c24bbb
......@@ -234,6 +234,7 @@ def download_file_from_google_drive(file_id: str, root: str, filename: Optional[
if check_integrity(fpath, md5):
print(f"Using downloaded {'and verified ' if md5 else ''}file: {fpath}")
return
url = "https://drive.google.com/uc"
params = dict(id=file_id, export="download")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment