From e4ab4ae630e7b21003c2a6c5e092995d9a82de58 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 9 Jan 2026 23:22:14 +0000 Subject: [PATCH] remove unused monitor_exists() function --- obsws_cli/validate.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/obsws_cli/validate.py b/obsws_cli/validate.py index c0f82b8..b4cdc67 100644 --- a/obsws_cli/validate.py +++ b/obsws_cli/validate.py @@ -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)