From 5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 4 Apr 2022 18:10:57 -0700 Subject: filesets: typo bugfix, and test 'mimetype' on entity, not extra --- python/fatcat_tools/importers/ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_tools') diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py index ed948606..ca06a988 100644 --- a/python/fatcat_tools/importers/ingest.py +++ b/python/fatcat_tools/importers/ingest.py @@ -782,7 +782,7 @@ class IngestFilesetResultImporter(IngestFileResultImporter): mimetype=ingest_file["mimetype"], extra=dict(), ) - if not (fsf.md5 and fsf.sha1 and fsf.path and fsf.size and fe.mimetype): + if not (fsf.md5 and fsf.sha1 and fsf.path and fsf.size and fsf.mimetype): self.counts["skip-partial-file-info"] += 1 return None if ingest_file.get("platform_url"): -- cgit v1.2.3