[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
13
HCSocket.py
13
HCSocket.py
@@ -201,12 +201,13 @@ class HCSocket:
|
||||
|
||||
print(now(), "CON:", self.uri)
|
||||
self.ws = websocket.WebSocketApp(
|
||||
self.uri,
|
||||
socket=sock,
|
||||
on_open=_on_open,
|
||||
on_message=_on_message,
|
||||
on_close=_on_close,
|
||||
on_error=_on_error)
|
||||
self.uri,
|
||||
socket=sock,
|
||||
on_open=_on_open,
|
||||
on_message=_on_message,
|
||||
on_close=_on_close,
|
||||
on_error=_on_error,
|
||||
)
|
||||
|
||||
websocket.setdefaulttimeout(30)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user