mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-22 02:50:47 +00:00
isort imports
This commit is contained in:
parent
9ef89852de
commit
40d984c44f
@ -2,7 +2,6 @@ import argparse
|
|||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import voicemeeterlib
|
|
||||||
from pyparsing import (
|
from pyparsing import (
|
||||||
Combine,
|
Combine,
|
||||||
Group,
|
Group,
|
||||||
@ -15,6 +14,8 @@ from pyparsing import (
|
|||||||
nums,
|
nums,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
import voicemeeterlib
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
argparser = argparse.ArgumentParser(description="creates a basic dsl")
|
argparser = argparse.ArgumentParser(description="creates a basic dsl")
|
||||||
argparser.add_argument("-i", action="store_true")
|
argparser.add_argument("-i", action="store_true")
|
||||||
@ -81,10 +82,9 @@ def main():
|
|||||||
)
|
)
|
||||||
# fmt: on
|
# fmt: on
|
||||||
|
|
||||||
kind_id = "banana"
|
KIND_ID = "banana"
|
||||||
subs = {ev: False for ev in ["pdirty", "mdirty", "midi"]}
|
|
||||||
|
|
||||||
with voicemeeterlib.api(kind_id, subs=subs) as vm:
|
with voicemeeterlib.api(KIND_ID) as vm:
|
||||||
parser = Parser(vm)
|
parser = Parser(vm)
|
||||||
if args.i:
|
if args.i:
|
||||||
interactive_mode(parser)
|
interactive_mode(parser)
|
||||||
|
Loading…
Reference in New Issue
Block a user