aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-02-24 23:33:55 -0800
committerBryan Newbold <bnewbold@archive.org>2020-02-24 23:33:55 -0800
commitdd2afc1b8bf457ee15150359e00369bc995de19e (patch)
treed0fa5e7ef182469648013989c2a2b2069013ee97 /python
parentf6e4cd94ad89d7c6c186b556ccc07534c8fe5919 (diff)
downloadsandcrawler-dd2afc1b8bf457ee15150359e00369bc995de19e.tar.gz
sandcrawler-dd2afc1b8bf457ee15150359e00369bc995de19e.zip
fix warc_offset -> offset
Diffstat (limited to 'python')
-rw-r--r--python/sandcrawler/ia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py
index 07e46c3..267ecdc 100644
--- a/python/sandcrawler/ia.py
+++ b/python/sandcrawler/ia.py
@@ -377,7 +377,7 @@ class WaybackClient:
revisit_uri, revisit_dt = gwb_record.refers_to
if not (revisit_uri and revisit_dt):
raise WaybackError("revisit record missing URI and/or DT: warc:{} offset:{}".format(
- warc_path, warc_offset))
+ warc_path, offset))
# convert revisit_dt
# len("2018-07-24T11:56:49"), or with "Z"
assert len(revisit_dt) in (19, 20)