From: Bryan Date: Tue, 14 Jan 2014 09:25:23 +0000 (-0500) Subject: fixing same typo from copy pasta X-Git-Tag: release-20150131~240^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87bf8e2441fe35cbdac8cae713f8361557ab8275;p=oweals%2Fkarmaworld.git fixing same typo from copy pasta --- diff --git a/karmaworld/apps/notes/gdrive.py b/karmaworld/apps/notes/gdrive.py index a355f76..42153df 100644 --- 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():