From 18a0a9f6e3e806d04c42312b6cb0988daf43b6ca Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 14 Jan 2014 04:18:44 -0500 Subject: [PATCH] fixing typo --- karmaworld/apps/notes/management/commands/populate_s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karmaworld/apps/notes/management/commands/populate_s3.py b/karmaworld/apps/notes/management/commands/populate_s3.py index 83c5d69..8cc19f4 100644 --- a/karmaworld/apps/notes/management/commands/populate_s3.py +++ b/karmaworld/apps/notes/management/commands/populate_s3.py @@ -43,7 +43,7 @@ class Command(BaseCommand): # 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) -- 2.25.1