From b5364bfedc63531080de3b1a8cb7cf2cbddde0bf Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 26 May 2025 20:54:06 +0100 Subject: [PATCH] return 0 and write to stdout if empty list --- obsws_cli/group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obsws_cli/group.py b/obsws_cli/group.py index e7a2f68..272a83b 100644 --- a/obsws_cli/group.py +++ b/obsws_cli/group.py @@ -41,8 +41,8 @@ def list( ] if not groups: - err_console.print(f"No groups found in scene '{scene_name}'.") - raise typer.Exit(1) + out_console.print(f"No groups found in scene '{scene_name}'.") + return table = Table(title=f'Groups in Scene: {scene_name}', padding=(0, 2))