mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
Don't return file from generate()
The file is `self`
This commit is contained in:
parent
ca324b7f52
commit
806ebd75b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue