diff --git a/openei/__init__.py b/openei/__init__.py index c199918..f2dc717 100644 --- a/openei/__init__.py +++ b/openei/__init__.py @@ -18,10 +18,6 @@ class NotAuthorized(Exception): """Exception for invalid API key.""" -class PlanMismatch(Exception): - """Exception for rate plans do not match what was requested.""" - - class APIError(Exception): """Exception for API errors.""" @@ -90,9 +86,6 @@ def update(self) -> None: if "items" in result.json().keys(): data = result.json()["items"][0] - if data["label"] != self._plan: - raise PlanMismatch - self._data = data @property