rename vm_dsl to __main__

This commit is contained in:
onyx-and-iris 2022-06-18 22:34:40 +01:00
parent 18133dbb27
commit f69a8cff6b

View File

@ -56,7 +56,9 @@ class Parser:
def main(cmds=None): def main(cmds=None):
with voicemeeterlib.api("banana") as vm: kind_id = "banana"
with voicemeeterlib.api(kind_id) as vm:
parser = Parser(vm) parser = Parser(vm)
if cmds: if cmds:
parser.parse(cmds) parser.parse(cmds)