kind_id contant

This commit is contained in:
onyx-and-iris 2023-08-23 02:39:07 +01:00
parent 752f93a64c
commit 599b140079

View File

@ -6,8 +6,8 @@ import nvda_voicemeeter
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)
kind_id = "potato" KIND_ID = "potato"
with voicemeeterlib.api(kind_id) as vm: with voicemeeterlib.api(KIND_ID) as vm:
with nvda_voicemeeter.build(f"Voicemeeter {kind_id.capitalize()} NVDA", vm) as window: with nvda_voicemeeter.build(f"Voicemeeter {KIND_ID.capitalize()} NVDA", vm) as window:
window.run() window.run()