From ee16a661cab4220d3ae4535b40c01adbf3bd5f86 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 23 Mar 2022 18:36:25 -0700 Subject: bugfix: sha1/md5 typo Caught this prepping to ingest in to fatcat. Derp! --- python/sandcrawler/fileset_strategies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/sandcrawler') 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"] -- cgit v1.2.3