mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-01-10 16:07:50 +00:00
remove unused monitor_exists() function
This commit is contained in:
parent
9cdbc657fa
commit
e4ab4ae630
@ -97,12 +97,6 @@ def profile_not_exists(ctx: typer.Context, profile_name: str) -> str:
|
||||
return profile_name
|
||||
|
||||
|
||||
def monitor_exists(ctx: typer.Context, monitor_index: int) -> bool:
|
||||
"""Check if a monitor exists."""
|
||||
resp = ctx.obj['obsws'].get_monitor_list()
|
||||
return any(monitor['monitorIndex'] == monitor_index for monitor in resp.monitors)
|
||||
|
||||
|
||||
def kind_in_input_kinds(ctx: typer.Context, input_kind: str) -> str:
|
||||
"""Check if an input kind is valid."""
|
||||
resp = ctx.obj['obsws'].get_input_kind_list(False)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user