Skip to content

Commit

Permalink
Fix CreateController client creation (#225)
Browse files Browse the repository at this point in the history
Fix an error introduced in previous retries PR.

Fixes #224
  • Loading branch information
allenporter committed Jul 24, 2023
1 parent a5c6d58 commit 894df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrainbird/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def CreateController(
websession: aiohttp.ClientSession, host: str, password: str
) -> "AsyncRainbirdController":
"""Create an AsyncRainbirdController."""
local_client = (AsyncRainbirdClient(websession, host, password),)
local_client = AsyncRainbirdClient(websession, host, password)
cloud_client = AsyncRainbirdClient(websession, CLOUD_API_URL, None)
return AsyncRainbirdController(local_client, cloud_client)

Expand Down

0 comments on commit 894df1a

Please sign in to comment.