projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be99ede
)
fixing minor typo
author
Bryan
<btbonval@gmail.com>
Thu, 19 Dec 2013 09:04:25 +0000
(
04:04
-0500)
committer
Bryan
<btbonval@gmail.com>
Thu, 19 Dec 2013 09:04:25 +0000
(
04:04
-0500)
karmaworld/apps/notes/gdrive.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/gdrive.py
b/karmaworld/apps/notes/gdrive.py
index 82f2c920ecd0fa3ab24786a8358b53c2c6f1b3af..531df0198dc8f7bc31b46a3eda6f5721af673110 100644
(file)
--- 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)