From dd2afc1b8bf457ee15150359e00369bc995de19e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 24 Feb 2020 23:33:55 -0800 Subject: fix warc_offset -> offset --- python/sandcrawler/ia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.2.3