Minor tweak #3

This commit is contained in:
Ian Renton
2025-12-23 21:58:32 +00:00
parent 926cf5caaf
commit 7fe478e040

View File

@@ -47,6 +47,7 @@ class WebsocketSpotProvider(SpotProvider):
logging.debug("Connecting to " + self.name + " spot API...")
self.status = "Connecting"
self.ws = create_connection(self.url, header=HTTP_HEADERS)
self.status = "Connected"
data = self.ws.recv()
if data:
try: