Skip to content

Commit

Permalink
fix variable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sadnub committed Feb 21, 2022
1 parent 1d3030d commit 21936a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meshctrl/meshctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, uri: str, token: str, user: str):
async def _websocket_call(self, data: dict) -> dict:
token = utils.get_auth_token(self.user, self.token)

uri = f"{uri}/control.ashx?auth={token}"
uri = f"{self.uri}/control.ashx?auth={token}"

async with websockets.connect(uri) as websocket:

Expand Down

0 comments on commit 21936a0

Please sign in to comment.