From f69a8cff6b891f559b8f4c1f326b47e575ddb8eb Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Sat, 18 Jun 2022 22:34:40 +0100 Subject: [PATCH] rename vm_dsl to __main__ --- examples/dsl/{vm_dsl.py => __main__.py} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename examples/dsl/{vm_dsl.py => __main__.py} (97%) diff --git a/examples/dsl/vm_dsl.py b/examples/dsl/__main__.py similarity index 97% rename from examples/dsl/vm_dsl.py rename to examples/dsl/__main__.py index 0c361d6..080fe10 100644 --- a/examples/dsl/vm_dsl.py +++ b/examples/dsl/__main__.py @@ -56,7 +56,9 @@ class Parser: def main(cmds=None): - with voicemeeterlib.api("banana") as vm: + kind_id = "banana" + + with voicemeeterlib.api(kind_id) as vm: parser = Parser(vm) if cmds: parser.parse(cmds)