mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2025-01-18 04:10:46 +00:00
run example snippet through formatter
This commit is contained in:
parent
e4fc68c1ad
commit
848248d02b
@ -31,12 +31,13 @@ Example `__main__.py` file:
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
import voicemeeterlib
|
import voicemeeterlib
|
||||||
|
|
||||||
import vmcompact
|
import vmcompact
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# choose the kind of Voicemeeter (Local connection)
|
# choose the kind of Voicemeeter (Local connection)
|
||||||
KIND_ID = "banana"
|
KIND_ID = 'banana'
|
||||||
|
|
||||||
# pass the KIND_ID and the vm object to the app
|
# pass the KIND_ID and the vm object to the app
|
||||||
with voicemeeterlib.api(KIND_ID) as vm:
|
with voicemeeterlib.api(KIND_ID) as vm:
|
||||||
@ -44,7 +45,7 @@ def main():
|
|||||||
app.mainloop()
|
app.mainloop()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user