From 8630566c1750b907ba00d22028c081972243b895 Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 14 Jan 2014 04:25:23 -0500 Subject: [PATCH] fixing same typo from copy pasta --- 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 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(): -- 2.25.1