Don't return file from generate()

The file is `self`
This commit is contained in:
Matthew Tretter 2012-10-17 00:37:02 -04:00
parent ca324b7f52
commit 806ebd75b6

View file

@ -111,7 +111,7 @@ class ImageSpecCacheFile(BaseIKFile, ImageFile):
if self.source_file: # TODO: Should we error here or something if the source_file doesn't exist?
# Process the original image file.
content = self.spec.apply(self.source_file)
return self.storage.save(self.name, content)
self.storage.save(self.name, content)
class IKContentFile(ContentFile):