summaryrefslogtreecommitdiff
path: root/python/websocketprovider.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2022-05-06 00:25:41 -0400
committerJordan Wiens <jordan@psifertex.com>2022-05-06 00:25:41 -0400
commitbfeba3302e995fdba373603533fce54bf788adff (patch)
tree2e4aadbb53e43a7022167ecdff4e241474279e6d /python/websocketprovider.py
parent245ee620d94a21d5e0005bd634a10bb6163efb64 (diff)
many pydoc formatting cleanups, added deprecated decorator and replaced ad-hoc messages with consistent decorator
Diffstat (limited to 'python/websocketprovider.py')
-rw-r--r--python/websocketprovider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/websocketprovider.py b/python/websocketprovider.py
index 0a143562..c87cc384 100644
--- a/python/websocketprovider.py
+++ b/python/websocketprovider.py
@@ -141,7 +141,7 @@ class WebsocketClient(object):
def connect(self, url, headers=None, on_connected=nop, on_disconnected=nop, on_error=nop, on_data=nop):
"""
Connect to a given url, asynchronously. The connection will be run in a separate thread managed by the websocket provider.
- Client callbacks are set according to whichever on_ callback parameters you pass.
+ Client callbacks are set according to whichever on\_ callback parameters you pass.
Callbacks will be called **on the thread of the connection**, so be sure to execute_on_main_thread any long-running
or gui operations in the callbacks.