Skip to content

Commit 732fe25

Browse files
committed
Cookie check
1 parent 6feacb3 commit 732fe25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

airos/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ def _store_auth_data(self, response: aiohttp.ClientResponse) -> None:
225225
cookie.load(set_cookie)
226226
for key, morsel in cookie.items():
227227
if key.startswith("AIROS_"):
228-
self._auth_cookie = morsel.key[6:] + "=" + morsel.value
228+
# self._auth_cookie = morsel.key[6:] + "=" + morsel.value
229+
self._auth_cookie = f"{morsel.key}={morsel.value}"
229230
break
230231

231232
async def _request_json(

0 commit comments

Comments
 (0)