From d1918edc7004cbb2fd512c606ad754eb4b327f7c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 4 Aug 2019 17:53:03 +0200 Subject: [PATCH] updates --- utils/google_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/google_utils.py b/utils/google_utils.py index bb7e5dd1..36b9f457 100644 --- a/utils/google_utils.py +++ b/utils/google_utils.py @@ -14,7 +14,7 @@ def gdrive_download(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip'): # from utils.google_utils import *; gdrive_download() t = time.time() - print('Downloading https://drive.google.com/uc?export=download&id=%s as %s... ' % (id, name)) + print('Downloading https://drive.google.com/uc?export=download&id=%s as %s... ' % (id, name), end='') if os.path.exists(name): # remove existing os.remove(name) @@ -35,7 +35,7 @@ def gdrive_download(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip'): print('Unzipping %s... ' % name, end='') os.system('unzip -q %s' % name) - print('Done (%.1fs)' % (time.time()-t)) + print('Done (%.1fs)' % (time.time() - t)) def upload_blob(bucket_name, source_file_name, destination_blob_name):