This commit is contained in:
Glenn Jocher 2019-08-04 19:59:02 +02:00
parent 618e8a8014
commit 77c589dc0c
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ def gdrive_download(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip'):
# Unzip if archive
if name.endswith('.zip'):
print('unzipping... ', end='')
os.system('unzip -q %s' % name)
os.system('unzip -q %s' % name) # unzip
os.remove(name) # remove zip to free space
print('Done (%.1fs)' % (time.time() - t))