oops, localized_file not local_file
authorRodney Ewing <ewing.rj@gmail.com>
Wed, 14 Aug 2013 18:00:05 +0000 (11:00 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:21 +0000 (15:30 -0700)
mediagoblin/media_types/pdf/processing.py

index 17a3246c92be353e0870b471af2d875afe03dd89..906be4365806a608b5f291c21ca176d5c62c4261 100644 (file)
@@ -301,7 +301,7 @@ class CommonPdfProcessor(MediaProcessor):
         store_public(self.entry, 'pdf', tmp_pdf,
                      self.name_builder.fill('{basename}.pdf'))
 
-        return self.workbench.local_file(
+        return self.workbench.localized_file(
             mgg.public_store, self.entry.media_files['pdf'])
 
     def extract_pdf_info(self):