Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions airos/airos8.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ async def login(self) -> bool:
data=post_data,
headers=login_request_headers,
) as response:
if response.status == 403:
logger.error("Authentication denied.")
raise ConnectionAuthenticationError from None
if not response.cookies:
logger.exception("Empty cookies after login, bailing out.")
raise ConnectionSetupError from None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "airos"
version = "0.1.6"
version = "0.1.7"
license = "MIT"
description = "Ubiquity airOS module(s) for Python 3."
readme = "README.md"
Expand Down