From 806ebd75b63ae20e526d9fb0f44d9e05dd688768 Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Wed, 17 Oct 2012 00:37:02 -0400 Subject: [PATCH] Don't return file from generate() The file is `self` --- imagekit/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagekit/files.py b/imagekit/files.py index c7af4bb..81db579 100644 --- a/imagekit/files.py +++ b/imagekit/files.py @@ -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):