This commit is contained in:
Matthew Tretter 2012-11-03 00:27:03 -04:00
parent 5494ee7fc1
commit f9e2ce8649

View file

@ -220,6 +220,7 @@ class ImageSpec(BaseImageSpec):
format = format or img.format or original_format or 'JPEG'
imgfile = img_to_fobj(img, format, **options)
# TODO: Is this the right place to wrap the file? Can we use a mixin instead? Is it even still having the desired effect? Re: #111
content = IKContentFile(filename, imgfile.read(), format=format)
return content