remove unused monitor_exists() function

This commit is contained in:
onyx-and-iris 2026-01-09 23:22:14 +00:00
parent 9cdbc657fa
commit e4ab4ae630

View File

@ -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)