Skip to content

Commit 5ed3d48

Browse files
committed
Functional stakick progress, version bump a4
1 parent 5b02fcc commit 5ed3d48

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

airos/airos8.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,6 @@ async def stakick(self, mac_address: str = None) -> bool:
228228
logger.error("Device mac-address missing")
229229
raise DataMissingError from None
230230

231-
self.session.cookie_jar.update_cookies({"ok": "1"})
232-
233-
# --- Step 2: Verify authenticated access by fetching status.cgi ---
234231
kick_request_headers = {**self._common_headers}
235232
if self.current_csrf_token:
236233
kick_request_headers["X-CSRF-ID"] = self.current_csrf_token
@@ -239,6 +236,7 @@ async def stakick(self, mac_address: str = None) -> bool:
239236
"staif": "ath0",
240237
"staid": quote(mac_address.upper(), safe=""),
241238
}
239+
logger.error(kick_payload)
242240

243241
kick_request_headers["Content-Type"] = (
244242
"application/x-www-form-urlencoded; charset=UTF-8"

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.0.10a3"
7+
version = "0.0.10a4"
88
license = "MIT"
99
description = "Ubiquity airOS module(s) for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)