Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Aug 23, 2024
1 parent e62ec99 commit 2cadcd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evohomeasync2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ async def login(self) -> None:
if err.status != HTTPStatus.UNAUTHORIZED or not self.access_token:
raise

_LOGGER.warning("Unauthorized access_token (will try re-authenticating).")
self.broker.access_token = None # FIXME: this is a hack
_LOGGER.warning("Unauthorized access_token (will try re-authenticating).") # type:ignore[unreachable]
self.token_manager.access_token = None # FIXME: is this hack needed
await self.user_account(force_update=True)

await self.installation()
Expand Down

0 comments on commit 2cadcd2

Please sign in to comment.