From fdbc1383db4204ecdf27294dcca40dd04e0c214f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Oct 2021 18:20:33 -0700 Subject: fileset: fix field renaming bug (caught by mypy) --- python/sandcrawler/ingest_fileset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sandcrawler/ingest_fileset.py b/python/sandcrawler/ingest_fileset.py index e049b70..29a9ebd 100644 --- a/python/sandcrawler/ingest_fileset.py +++ b/python/sandcrawler/ingest_fileset.py @@ -341,9 +341,9 @@ class IngestFilesetWorker(IngestFileWorker): result['fileset_bundle'] = dict() if archive_result.bundle_file_meta: result['fileset_bundle']['file_meta'] = archive_result.bundle_file_meta - if archive_result.archiveorg_bundle_path: + if archive_result.bundle_archiveorg_path: result['fileset_bundle'][ - 'archiveorg_bundle_path'] = archive_result.archiveorg_bundle_path + 'archiveorg_bundle_path'] = archive_result.bundle_archiveorg_path if archive_result.bundle_resource: result['fileset_bundle']['terminal'] = dict( terminal_url=archive_result.bundle_resource.terminal_url, -- cgit v1.2.3