no need to use get here since we're defining a default value in default_settings.py

This commit is contained in:
Victor Torres 2019-02-08 14:49:26 -02:00
parent ceae356e62
commit cfd183a9d1
1 changed files with 1 additions and 1 deletions

View File

@ -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)