another html source fix
authorBryan <btbonval@gmail.com>
Tue, 14 Jan 2014 09:07:01 +0000 (04:07 -0500)
committerBryan <btbonval@gmail.com>
Tue, 14 Jan 2014 09:07:01 +0000 (04:07 -0500)
karmaworld/apps/notes/management/commands/populate_s3.py

index 632075cc7e471114cc584585341e0f5ec54dcb83..83c5d696a1ec9d1a5ceebbf5210cd19b764bb75d 100644 (file)
@@ -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)