From: Bryan Date: Tue, 14 Jan 2014 09:07:01 +0000 (-0500) Subject: another html source fix X-Git-Tag: release-20150131~246 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=61d66dcf7cce3ee09a5827adbf1e1f50e0b48fc7;p=oweals%2Fkarmaworld.git another html source fix --- diff --git a/karmaworld/apps/notes/management/commands/populate_s3.py b/karmaworld/apps/notes/management/commands/populate_s3.py index 632075c..83c5d69 100644 --- a/karmaworld/apps/notes/management/commands/populate_s3.py +++ b/karmaworld/apps/notes/management/commands/populate_s3.py @@ -39,7 +39,7 @@ class Command(BaseCommand): # and some decent default settings chosen by django-storages. print "Processing {0}".format(filepath) - html = note.filter_html(html) + html = note.filter_html(note.html) # S3 upload wants a file-like object. htmlflo = StringIO(html) # Create the new key (key == filename in S3 bucket)