From 7281f8de4697c75462974d439a6d228a9b7754bb Mon Sep 17 00:00:00 2001 From: Benjamin Adams Date: Thu, 22 Oct 2020 14:16:01 +0000 Subject: [PATCH] Fixup one-off error in CSV header skip --- scripts/build_erddap_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_erddap_catalog.py b/scripts/build_erddap_catalog.py index 5b4b87af..38aa954a 100755 --- a/scripts/build_erddap_catalog.py +++ b/scripts/build_erddap_catalog.py @@ -82,7 +82,7 @@ def inactive_datasets(deployments_set): timeout=10) resp.raise_for_status() # contents of erddap datasets - erddap_contents_set = set(resp.text.splitlines()[4:]) + erddap_contents_set = set(resp.text.splitlines()[3:]) except (requests.Timeout, requests.HTTPError, IndexError): erddap_contents_set = set()