Skip to content

Commit

Permalink
await
Browse files Browse the repository at this point in the history
  • Loading branch information
deluxghost committed Feb 19, 2018
1 parent 37ac5ba commit ca94514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASF_IPC/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def get_log(self):
ws_url = self._build_endpoint('Log', ws=True)
headers = self._add_auth()
try:
websocket = websockets.connect(ws_url, extra_headers=headers)
websocket = await websockets.connect(ws_url, extra_headers=headers)
except ConnectionRefusedError:
raise error.ASF_ConnectionError(ws_url)
while True:
Expand Down

0 comments on commit ca94514

Please sign in to comment.