summaryrefslogtreecommitdiff
path: root/src/tox/util/spinner.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tox/util/spinner.py')
-rw-r--r--src/tox/util/spinner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tox/util/spinner.py b/src/tox/util/spinner.py
index 78edc8fa..ca2dbb06 100644
--- a/src/tox/util/spinner.py
+++ b/src/tox/util/spinner.py
@@ -93,7 +93,7 @@ class Spinner:
self.render_frame()
self._stop_spinner = threading.Event()
self._spinner_thread = threading.Thread(target=self.render)
- self._spinner_thread.setDaemon(True)
+ self._spinner_thread.daemon = True
self._spinner_thread.start()
return self