From cdf49b1002d80a796d6aa51c1d84027498ed58e7 Mon Sep 17 00:00:00 2001 From: Bryan Date: Thu, 19 Dec 2013 04:04:25 -0500 Subject: [PATCH] fixing minor typo --- karmaworld/apps/notes/gdrive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karmaworld/apps/notes/gdrive.py b/karmaworld/apps/notes/gdrive.py index 82f2c92..531df01 100644 --- a/karmaworld/apps/notes/gdrive.py +++ b/karmaworld/apps/notes/gdrive.py @@ -119,7 +119,7 @@ def upload_to_gdrive(service, media, filename, extension=None, mimetype=None): # 2 ** -1 = 0.5, 2 ** 0 = 1, 2 ** 1 = 2, 4, 8, 16, ... delay_exp = -1 # exponentially wait for exportLinks to be returned if missing - while u'exportLinks' not in file_dict or + while u'exportLinks' not in file_dict or \ u'text/plain' not in file_dict[u'exportLinks']: # wait some seconds print "upload_check_sleep({0})".format(2. ** delay_exp) -- 2.25.1