File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ def __init__(
2323 password : str ,
2424 session : aiohttp .ClientSession ,
2525 use_ssl : bool = True ,
26- verify_ssl : bool = True ,
2726 ):
2827 """Initialize AirOS8 class."""
2928 self .username = username
@@ -40,7 +39,6 @@ def __init__(
4039 self .base_url = f"{ scheme } ://{ hostname } "
4140
4241 self .session = session
43- self .verify_ssl = verify_ssl
4442
4543 self ._login_url = f"{ self .base_url } /api/auth" # AirOS 8
4644 self ._status_cgi_url = f"{ self .base_url } /status.cgi" # AirOS 8
@@ -92,7 +90,6 @@ async def login(self) -> bool:
9290 self ._login_url ,
9391 data = post_data ,
9492 headers = login_request_headers ,
95- ssl = self .verify_ssl ,
9693 ) as response :
9794 if not response .cookies :
9895 logger .exception ("Empty cookies after login, bailing out." )
@@ -191,7 +188,6 @@ async def status(self) -> dict:
191188 async with self .session .get (
192189 self ._status_cgi_url ,
193190 headers = authenticated_get_headers ,
194- ssl = self .verify_ssl ,
195191 ) as response :
196192 if response .status == 200 :
197193 try :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " airos"
7- version = " 0.0.5 "
7+ version = " 0.0.6 "
88license = " MIT"
99description = " Ubiquity airOS module(s) for Python 3."
1010readme = " README.md"
You can’t perform that action at this time.
0 commit comments