Skip to content

Commit

Permalink
check for False returned from get_account_id
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeJSmith committed May 29, 2024
1 parent 7537574 commit 1930293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions whirlpool/appliancesmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ async def _get_shared_appliances(self) -> bool:

async def fetch_appliances(self):
account_id = await self._auth.get_account_id()
if account_id is False:
return False
success_owned = await self._get_owned_appliances(account_id)
success_shared = await self._get_shared_appliances()

Expand Down

0 comments on commit 1930293

Please sign in to comment.