mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2024-11-15 23:10:47 +00:00
fix __name__
This commit is contained in:
parent
f24ef8442e
commit
bac1fb09ec
@ -37,5 +37,5 @@ class Binds:
|
|||||||
def call(self, fn, *args, ok=(0,)):
|
def call(self, fn, *args, ok=(0,)):
|
||||||
retval = fn(*args)
|
retval = fn(*args)
|
||||||
if retval not in ok:
|
if retval not in ok:
|
||||||
raise VMCAPIError(fn.bind_namebind_, retval)
|
raise VMCAPIError(fn.__name__, retval)
|
||||||
return retval
|
return retval
|
||||||
|
Loading…
Reference in New Issue
Block a user