aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-04-04 18:10:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-04-04 18:10:57 -0700
commit5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a (patch)
treeb827bf5e1b98a1b2e2db3d40da14e446421e42ee /python/fatcat_tools/importers
parent5f5dd6f0582197c1773326b55ee22c7bd7f9bb98 (diff)
downloadfatcat-5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a.tar.gz
fatcat-5d7bce1ebef2885f3d21b87cadcd18c90ea7d21a.zip
filesets: typo bugfix, and test 'mimetype' on entity, not extra
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/ingest.py2
1 files changed, 1 insertions, 1 deletions
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"):