Skip to content

Commit

Permalink
use daemon property instead (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe authored Nov 1, 2022
1 parent 19034c9 commit db543cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SnifferAPI/UART.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self, portnum=None, baudrate=None):

self.worker_thread = Thread(target=self._read_worker)
self.reading = True
self.worker_thread.setDaemon(True)
self.worker_thread.daemon = True
self.worker_thread.start()

def _read_worker(self):
Expand Down

0 comments on commit db543cd

Please sign in to comment.