Merge branch 'GH92-image-buf-threading'

This commit is contained in:
Daniel Graña 2012-02-23 19:25:28 -02:00
commit 08d2c2b9ee
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ class ImagesPipeline(MediaPipeline):
checksum = None
for key, image, buf in self.get_images(response, request, info):
if checksum is None:
buf.seek(0)
checksum = md5sum(buf)
self.store.persist_image(key, image, buf, info)
return checksum