mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-22 11:00:47 +00:00
fix regression in observable thread.
patch bump
This commit is contained in:
parent
9af2fc98aa
commit
d12e67820f
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "voicemeeter-api"
|
name = "voicemeeter-api"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
description = "A Python wrapper for the Voiceemeter API"
|
description = "A Python wrapper for the Voiceemeter API"
|
||||||
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -21,7 +21,7 @@ class Remote(CBindings):
|
|||||||
self.cache = {}
|
self.cache = {}
|
||||||
self.subject = Subject()
|
self.subject = Subject()
|
||||||
self.strip_mode = 0
|
self.strip_mode = 0
|
||||||
self.running = True
|
self.running = None
|
||||||
|
|
||||||
for attr, val in kwargs.items():
|
for attr, val in kwargs.items():
|
||||||
setattr(self, attr, val)
|
setattr(self, attr, val)
|
||||||
@ -39,6 +39,7 @@ class Remote(CBindings):
|
|||||||
|
|
||||||
def init_thread(self):
|
def init_thread(self):
|
||||||
"""Starts updates thread."""
|
"""Starts updates thread."""
|
||||||
|
self.running = True
|
||||||
t = Thread(target=self._updates, daemon=True)
|
t = Thread(target=self._updates, daemon=True)
|
||||||
t.start()
|
t.start()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user