mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2026-04-13 10:33:30 +00:00
rethrow if not mdirty error code -9, immediately.
patch bump
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user