File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ def start(self):
48
48
self .lock .acquire () # wait for connection to be established
49
49
self .__connection_state = ConnectionState .CONNECTING
50
50
kwargs = {"sslopt" : {"cert_reqs" : CERT_NONE }} if self .ignore_ssl_cert else None
51
- Thread (target = self .ws .run_forever , kwargs = kwargs ).start ()
52
-
51
+ Thread (target = self .ws .run_forever , name = "Websocket Thread" , kwargs = kwargs ).start ()
52
+
53
53
54
54
def _fail (self , ws , err ):
55
55
self .__connection_state = ConnectionState .FAILED
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def print_warning(msg):
166
166
class PHThread (Thread ):
167
167
168
168
def __init__ (self , parent ):
169
- super ().__init__ ()
169
+ super ().__init__ (name = "PHThread" )
170
170
self .parent = parent
171
171
self ._stop_event = Event ()
172
172
You can’t perform that action at this time.
0 commit comments