PEP8 cleanup, unused import removal

This commit is contained in:
Roberto Rosario
2014-11-02 21:20:29 -04:00
parent ba1729106f
commit 9f2692d36a
24 changed files with 20 additions and 44 deletions

View File

@@ -112,7 +112,7 @@ def clean_pages():
"""
for page in DocumentPage.objects.all():
if page.content:
page.content = ocr_cleanup(document.language, page.content)
page.content = ocr_cleanup(page.document.language, page.content)
page.save()