mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-02-04 09:14:30 +00:00
Minor tweak #3
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user