Skip to content

Commit c3fb2ca

Browse files
authored
Merge pull request #97 from CoMPaTech/authfix
Remove raise override
2 parents ce81860 + ccfee53 commit c3fb2ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

airos/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ async def login(self) -> None:
259259
payload = {"username": self.username, "password": self.password}
260260
try:
261261
await self._request_json("POST", self._login_url, json_data=payload)
262-
except (AirOSConnectionAuthenticationError, AirOSConnectionSetupError) as err:
262+
except AirOSConnectionSetupError as err:
263263
raise AirOSConnectionSetupError("Failed to login to AirOS device") from err
264264

265265
async def status(self) -> AirOSDataModel:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "airos"
7-
version = "0.5.2"
7+
version = "0.5.3"
88
license = "MIT"
99
description = "Ubiquiti airOS module(s) for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)