[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -147,11 +147,7 @@ class HCSocket:
|
|||||||
|
|
||||||
print(now(), "CON:", self.uri)
|
print(now(), "CON:", self.uri)
|
||||||
self.ws = websocket.WebSocket()
|
self.ws = websocket.WebSocket()
|
||||||
self.ws.connect(
|
self.ws.connect(self.uri, socket=sock, origin="")
|
||||||
self.uri,
|
|
||||||
socket=sock,
|
|
||||||
origin=""
|
|
||||||
)
|
|
||||||
|
|
||||||
def send(self, msg):
|
def send(self, msg):
|
||||||
buf = json.dumps(msg, separators=(",", ":"))
|
buf = json.dumps(msg, separators=(",", ":"))
|
||||||
|
|||||||
Reference in New Issue
Block a user