mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2025-01-18 04:40:47 +00:00
re-run through ruff formatter
This commit is contained in:
parent
b45abf2492
commit
fd4a228086
10
__main__.py
10
__main__.py
@ -2,16 +2,16 @@ import xair_api
|
||||
|
||||
|
||||
def main():
|
||||
kind_id = "XR18"
|
||||
ip = "<ip address>"
|
||||
kind_id = 'XR18'
|
||||
ip = '<ip address>'
|
||||
|
||||
with xair_api.connect(kind_id, ip=ip) as mixer:
|
||||
mixer.strip[8].config.name = "sm7b"
|
||||
mixer.strip[8].config.name = 'sm7b'
|
||||
mixer.strip[8].config.on = True
|
||||
print(
|
||||
f"strip 09 ({mixer.strip[8].config.name}) has been set to {mixer.strip[8].config.on}"
|
||||
f'strip 09 ({mixer.strip[8].config.name}) has been set to {mixer.strip[8].config.on}'
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user