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:
18a0a9f
)
fixing same typo from copy pasta
author
Bryan
<btbonval@gmail.com>
Tue, 14 Jan 2014 09:25:23 +0000
(
04:25
-0500)
committer
Bryan
<btbonval@gmail.com>
Tue, 14 Jan 2014 09:25:23 +0000
(
04:25
-0500)
karmaworld/apps/notes/gdrive.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/gdrive.py
b/karmaworld/apps/notes/gdrive.py
index a355f76e2d15395a97718556ededfa833c871507..42153dfec2c801c9abc94f3a2e538224d471894b 100644
(file)
--- a/
karmaworld/apps/notes/gdrive.py
+++ b/
karmaworld/apps/notes/gdrive.py
@@
-239,7
+239,7
@@
def convert_raw_document(raw_document, user=None, session_key=None):
# S3 upload wants a file-like object.
htmlflo = StringIO(html)
# Create the new key (key == filename in S3 bucket)
- newkey = default_storage.bucket.new(filepath)
+ newkey = default_storage.bucket.new
_key
(filepath)
# Upload data!
newkey.send_file(htmlflo)
if not newkey.exists():