This commit is contained in:
Lukasz Biedrycki 2013-08-20 11:29:55 +02:00
parent 45ff6ec28a
commit 96077ccf48
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class ImagesPipeline(FilesPipeline):
buf.seek(0)
checksum = md5sum(buf)
width, height = image.size
self.store.persist_image(
self.store.persist_file(
key, buf, info,
meta={'width': width, 'height': height},
headers={'Content-Type': 'image/jpeg'})