mirror of https://github.com/scrapy/scrapy.git
typo
This commit is contained in:
parent
45ff6ec28a
commit
96077ccf48
|
|
@ -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'})
|
||||
|
|
|
|||
Loading…
Reference in New Issue