Skip to content

Commit 521e5cc

Browse files
committed
add await on _load_discovered_nodes
1 parent 7885b2c commit 521e5cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/network/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ async def _load_node(self, mac: str) -> bool:
488488
async def _load_stragglers(self) -> None:
489489
"""Retry failed load operation."""
490490
await sleep(NODE_RETRY_LOAD_INTERVAL)
491-
while not self._load_discovered_nodes():
491+
while not await self._load_discovered_nodes():
492492
await sleep(NODE_RETRY_LOAD_INTERVAL)
493493

494494
async def _load_discovered_nodes(self) -> bool:

0 commit comments

Comments
 (0)