Skip to content

Commit

Permalink
remove loop parameter (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
swolix authored Jan 10, 2022
1 parent 76dd846 commit a698bea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aioharmony/harmonyclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ async def _websocket_or_xmpp(self) -> bool:
if not self._protocol == WEBSOCKETS :
try:
_, _ = await asyncio.open_connection(host=self._ip_address,
port=DEFAULT_XMPP_HUB_PORT,
loop=self._loop
port=DEFAULT_XMPP_HUB_PORT
)
except ConnectionRefusedError:
if self._protocol == XMPP:
Expand Down

0 comments on commit a698bea

Please sign in to comment.