From 94f579e9d5d0eef7dc4f59a91ca4b2b6aedbc250 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