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 diff --git a/setup.py b/setup.py index e2e666f..1fc9a69 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ PROJECT_DIR = Path(__file__).parent.resolve() README_FILE = PROJECT_DIR / "README.md" -VERSION = "0.1.0" +VERSION = "0.1.1" setup(