summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-02 11:43:13 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 11:43:13 -0700
commit381ac835669fbc06f63007a2867f77c7a756b694 (patch)
treeee4fdde3d27e30fbe0724ec6f7c32782791d9800 /python
parentec836a6e2b77a91310a37efe2dce4c089def7fbd (diff)
downloadfatcat-381ac835669fbc06f63007a2867f77c7a756b694.tar.gz
fatcat-381ac835669fbc06f63007a2867f77c7a756b694.zip
fix missing variable in fileset ingest
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/importers/ingest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py
index 288c4cff..cb663330 100644
--- a/python/fatcat_tools/importers/ingest.py
+++ b/python/fatcat_tools/importers/ingest.py
@@ -646,9 +646,8 @@ class IngestFilesetResultImporter(IngestFileResultImporter):
# TODO: web-base
if row['strategy'] == 'archiveorg-fileset-bundle' and row.get('archiveorg_item_name'):
- # TODO: bundle path
urls.append(fatcat_openapi_client.FilesetUrl(
- url=f"https://archive.org/download/{row['archiveorg_item_name']}/{bundle_path}",
+ url=f"https://archive.org/download/{row['archiveorg_item_name']}/{row['archiveorg_bundle_path']}",
rel="archive-bundle",
))