Skip to content

Commit 091e9e0

Browse files
committed
Missing await
1 parent a00c3e3 commit 091e9e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyhilo/graphql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ async def subscribe_to_device_updated(
564564
except Exception as e:
565565
print(f"Connection lost: {e}. Reconnecting in 5 seconds...")
566566
await asyncio.sleep(5)
567-
self.call_get_location_query(location_hilo_id)
567+
await self.call_get_location_query(location_hilo_id)
568568

569569
async def subscribe_to_location_updated(
570570
self, location_hilo_id: str, callback: callable = None

0 commit comments

Comments
 (0)