mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
check only ok_exp
This commit is contained in:
parent
7d3647afd7
commit
ead28db48c
@ -13,7 +13,7 @@ class CBindings:
|
||||
if ok_exp is None:
|
||||
if retval not in ok:
|
||||
raise NVDAVMCAPIError(fn.__name__, retval)
|
||||
elif not ok_exp(retval) and retval not in ok:
|
||||
elif not ok_exp(retval):
|
||||
raise NVDAVMCAPIError(fn.__name__, retval)
|
||||
return retval
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user