diff options
| author | engn33r <engn33r@users.noreply.github.com> | 2021-04-26 22:05:23 -0400 |
|---|---|---|
| committer | engn33r <engn33r@users.noreply.github.com> | 2021-04-26 22:05:23 -0400 |
| commit | 83edf1b78655ad2a4330777170a1c0bf2070f106 (patch) | |
| tree | 5fac94191757fa9ef52d11d47ab8acca9413f83e | |
| parent | 96f7941129e86c37d9e07abba156ac7994c65d94 (diff) | |
| download | websocket-client-83edf1b78655ad2a4330777170a1c0bf2070f106.tar.gz | |
Fix #676 to update thread daemon
| -rw-r--r-- | websocket/_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/websocket/_app.py b/websocket/_app.py index 748afd8..8a6c8f5 100644 --- a/websocket/_app.py +++ b/websocket/_app.py @@ -305,7 +305,7 @@ class WebSocketApp(object): event = threading.Event() thread = threading.Thread( target=self._send_ping, args=(ping_interval, event)) - thread.setDaemon(True) + thread.daemon = True thread.start() def read(): |
