From: Bryan Date: Tue, 14 Jan 2014 09:18:44 +0000 (-0500) Subject: fixing typo X-Git-Tag: release-20150131~240^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18a0a9f6e3e806d04c42312b6cb0988daf43b6ca;p=oweals%2Fkarmaworld.git fixing typo --- 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)