aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9bed59d..ea79927 100644
--- a/python/sandcrawler/ia.py
+++ b/python/sandcrawler/ia.py
@@ -341,7 +341,7 @@ class WaybackClient:
except IncompleteRead as ire:
raise WaybackError(
"failed to read actual file contents from wayback/petabox (IncompleteRead: {})".format(ire))
- else if status_code is None:
+ elif status_code is None:
raise WaybackError(
"got a None status_code in (W)ARC record".format(ire))
return WarcResource(