From ccfee53f4bd8ced4be3315e8bf3f16476da3da34 Mon Sep 17 00:00:00 2001 From: Tom Scholten Date: Fri, 26 Sep 2025 23:15:40 +0200 Subject: [PATCH] Remove raise override --- airos/base.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airos/base.py b/airos/base.py index 7d4d191..dabcdbe 100644 --- a/airos/base.py +++ b/airos/base.py @@ -259,7 +259,7 @@ async def login(self) -> None: payload = {"username": self.username, "password": self.password} try: await self._request_json("POST", self._login_url, json_data=payload) - except (AirOSConnectionAuthenticationError, AirOSConnectionSetupError) as err: + except AirOSConnectionSetupError as err: raise AirOSConnectionSetupError("Failed to login to AirOS device") from err async def status(self) -> AirOSDataModel: diff --git a/pyproject.toml b/pyproject.toml index 72a3926..0985bce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "airos" -version = "0.5.2" +version = "0.5.3" license = "MIT" description = "Ubiquiti airOS module(s) for Python 3." readme = "README.md"