mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-22 02:50:47 +00:00
rethrow if not mdirty error code -9, immediately.
patch bump
This commit is contained in:
parent
4569e8c760
commit
5640f54e65
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "voicemeeter-api"
|
||||
version = "2.2.0"
|
||||
version = "2.2.1"
|
||||
description = "A Python wrapper for the Voiceemeter API"
|
||||
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
||||
license = "MIT"
|
||||
|
@ -138,7 +138,7 @@ class Remote(CBindings):
|
||||
while self.pdirty or self.mdirty:
|
||||
pass
|
||||
except CAPIError as e:
|
||||
if e.fn_name == "VBVMR_MacroButton_IsDirty" and e.code != -9:
|
||||
if not (e.fn_name == "VBVMR_MacroButton_IsDirty" and e.code == -9):
|
||||
raise
|
||||
self.logger.error(f"{e} clearing pdirty only.")
|
||||
while self.pdirty:
|
||||
|
Loading…
Reference in New Issue
Block a user