diff --git a/searvey/erddap.py b/searvey/erddap.py index 95fa99c..f3d989a 100644 --- a/searvey/erddap.py +++ b/searvey/erddap.py @@ -36,7 +36,7 @@ def urlopen( try: response.raise_for_status() except requests.exceptions.HTTPError as err: - raise requests.exceptions.HTTPError(f"{response.content.decode()}") from err + raise requests.exceptions.HTTPError(f"{response.content.decode()}") from err # type: ignore[call-arg] data = io.BytesIO(response.content) data.seek(0) return data