From 300894866603319ebf4563d6d3e36f5c3981dc3a Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 14 Jan 2014 04:07:01 -0500 Subject: [PATCH] another html source fix --- 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 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) -- 2.25.1