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
4 changes: 0 additions & 4 deletions airos/airos8.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def __init__(
password: str,
session: aiohttp.ClientSession,
use_ssl: bool = True,
verify_ssl: bool = True,
):
"""Initialize AirOS8 class."""
self.username = username
Expand All @@ -40,7 +39,6 @@ def __init__(
self.base_url = f"{scheme}://{hostname}"

self.session = session
self.verify_ssl = verify_ssl

self._login_url = f"{self.base_url}/api/auth" # AirOS 8
self._status_cgi_url = f"{self.base_url}/status.cgi" # AirOS 8
Expand Down Expand Up @@ -92,7 +90,6 @@ async def login(self) -> bool:
self._login_url,
data=post_data,
headers=login_request_headers,
ssl=self.verify_ssl,
) as response:
if not response.cookies:
logger.exception("Empty cookies after login, bailing out.")
Expand Down Expand Up @@ -191,7 +188,6 @@ async def status(self) -> dict:
async with self.session.get(
self._status_cgi_url,
headers=authenticated_get_headers,
ssl=self.verify_ssl,
) as response:
if response.status == 200:
try:
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.0.5"
version = "0.0.6"
license = "MIT"
description = "Ubiquity airOS module(s) for Python 3."
readme = "README.md"
Expand Down