diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 18:20:33 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 18:20:33 -0700 |
commit | fdbc1383db4204ecdf27294dcca40dd04e0c214f (patch) | |
tree | fa84c73f7e5ff66661975f9f31bfa45bfc1e3589 /python | |
parent | 6b13e8796823fff74e7b62a915971da05844098f (diff) | |
download | sandcrawler-fdbc1383db4204ecdf27294dcca40dd04e0c214f.tar.gz sandcrawler-fdbc1383db4204ecdf27294dcca40dd04e0c214f.zip |
fileset: fix field renaming bug (caught by mypy)
Diffstat (limited to 'python')
-rw-r--r-- | python/sandcrawler/ingest_fileset.py | 4 |
1 files 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, |