mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 22:04:16 +00:00
after additional tests with actual s3: k.set_contents_from_string is working
This commit is contained in:
parent
83bd151c57
commit
0a8bf2c9e4
@ -111,7 +111,7 @@ class S3FilesStore(object):
|
||||
if headers:
|
||||
h.update(headers)
|
||||
buf.seek(0)
|
||||
return threads.deferToThread(k.set_contents_from_file, buf,
|
||||
return threads.deferToThread(k.set_contents_from_string, buf.getvalue(),
|
||||
headers=h, policy=self.POLICY)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user