mirror of https://github.com/scrapy/scrapy.git
no need to use get here since we're defining a default value in default_settings.py
This commit is contained in:
parent
ceae356e62
commit
cfd183a9d1
|
|
@ -133,7 +133,7 @@ class S3FeedStorage(BlockingFeedStorage):
|
|||
def from_crawler(cls, crawler, uri):
|
||||
return cls(uri, crawler.settings['AWS_ACCESS_KEY_ID'],
|
||||
crawler.settings['AWS_SECRET_ACCESS_KEY'],
|
||||
crawler.settings.get('FEED_STORAGE_S3_ACL'))
|
||||
crawler.settings['FEED_STORAGE_S3_ACL'])
|
||||
|
||||
def _store_in_thread(self, file):
|
||||
file.seek(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue