diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-03-23 18:36:25 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-03-23 18:36:27 -0700 |
commit | ee16a661cab4220d3ae4535b40c01adbf3bd5f86 (patch) | |
tree | 9266f5dd42bc2eda6160f564ecb2fa9af52b6221 | |
parent | d3638a9fd9ed11fb4484038852f8e02b2f5a7b41 (diff) | |
download | sandcrawler-ee16a661cab4220d3ae4535b40c01adbf3bd5f86.tar.gz sandcrawler-ee16a661cab4220d3ae4535b40c01adbf3bd5f86.zip |
bugfix: sha1/md5 typo
Caught this prepping to ingest in to fatcat. Derp!
-rw-r--r-- | python/sandcrawler/fileset_strategies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/fileset_strategies.py b/python/sandcrawler/fileset_strategies.py index fcebbb8..d2a8e99 100644 --- a/python/sandcrawler/fileset_strategies.py +++ b/python/sandcrawler/fileset_strategies.py @@ -356,7 +356,7 @@ class WebFilesetStrategy(FilesetIngestStrategy): continue m.md5 = m.md5 or file_meta["md5hex"] - m.sha1 = m.sha1 or file_meta["md5hex"] + m.sha1 = m.sha1 or file_meta["sha1hex"] m.sha256 = m.sha256 or file_meta["sha256hex"] m.mimetype = m.mimetype or file_meta["mimetype"] |