diff --git a/pcaspy/driver.py b/pcaspy/driver.py index a00b4e7..f6324cb 100644 --- a/pcaspy/driver.py +++ b/pcaspy/driver.py @@ -513,7 +513,7 @@ def __init__(self, name, info): # scan thread if self.info.scan > 0: self.tid = threading.Thread(target=self.scan) - self.tid.setDaemon(True) + self.tid.daemon = True self.tid.start() def scan(self):