diff --git a/pifpaf/drivers/__init__.py b/pifpaf/drivers/__init__.py index ca71355..f25aae3 100644 --- a/pifpaf/drivers/__init__.py +++ b/pifpaf/drivers/__init__.py @@ -230,7 +230,7 @@ def _exec(self, command, stdout=False, ignore_failure=False, # Continue to read t = threading.Thread(target=self._read_in_bg, args=(app, c.pid, c.stdout,)) - t.setDaemon(True) + t.daemon = True t.start() # Store the thread ref into the Process() to be able # to clean it