This commit is contained in:
Glenn Jocher 2020-02-27 12:19:06 -08:00
parent e7f85bcfb9
commit 7e92f70e05
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def gdrive_download(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip'):
"curl -Lb ./cookie -s \"https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=%s\" -o %s" % (
id, name),
'rm ./cookie']
r = sum([os.system(x) for x in s]) # run commands, get return zeros
r = sum([os.system(x) for x in s][:2]) # run commands, get return zeros
# Attempt small file download
if not os.path.exists(name): # file size < 40MB