diff options
author | jaseg <git@jaseg.de> | 2022-03-26 14:05:41 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-03-26 14:23:04 +0100 |
commit | 518421a1271b79bc82e1cd0555a63abf2c1a978c (patch) | |
tree | 20b5d044561c440d15b7441397c24d63436ed195 /mpv.py | |
parent | 1f59cfa07246c993737b25857fd01421b2da8bbd (diff) | |
download | python-mpv-518421a1271b79bc82e1cd0555a63abf2c1a978c.tar.gz python-mpv-518421a1271b79bc82e1cd0555a63abf2c1a978c.tar.bz2 python-mpv-518421a1271b79bc82e1cd0555a63abf2c1a978c.zip |
use daemon = True instead of setDaemon
Diffstat (limited to 'mpv.py')
-rw-r--r-- | mpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -849,7 +849,7 @@ class MPV(object): self.set_loglevel(loglevel or 'terminal-default') if start_event_thread: self._event_thread = threading.Thread(target=self._loop, name='MPVEventHandlerThread') - self._event_thread.setDaemon(True) + self._event_thread.daemon = True self._event_thread.start() else: self._event_thread = None |