diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 13:54:35 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 13:54:35 -0700 |
commit | 02cac8f857fe21474ab25aa7150bed2ac5b970d5 (patch) | |
tree | 5163390339c446257f4240579e14e81588fd3632 /python/sandcrawler/persist.py | |
parent | 6650f3862b87bdeac4f3bb9d3561f934858956a0 (diff) | |
download | sandcrawler-02cac8f857fe21474ab25aa7150bed2ac5b970d5.tar.gz sandcrawler-02cac8f857fe21474ab25aa7150bed2ac5b970d5.zip |
flake8 clean (with current settings)
Diffstat (limited to 'python/sandcrawler/persist.py')
-rw-r--r-- | python/sandcrawler/persist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/sandcrawler/persist.py b/python/sandcrawler/persist.py index 44c03f2..b714bc7 100644 --- a/python/sandcrawler/persist.py +++ b/python/sandcrawler/persist.py @@ -578,7 +578,7 @@ class PersistThumbnailWorker(SandcrawlerWorker): assert isinstance(blob, bytes) assert len(blob) >= 50 - resp = self.s3.put_blob( + self.s3.put_blob( folder=self.s3_folder, blob=blob, sha1hex=key, @@ -619,7 +619,7 @@ class GenericPersistDocWorker(SandcrawlerWorker): if 'sha1hex' in record: assert key_str == record['sha1hex'] - resp = self.s3.put_blob( + self.s3.put_blob( folder=self.s3_folder, blob=record[self.doc_key].encode('utf-8'), sha1hex=key_str, |