From 46159a0ca4337ff4e5122ce1d6e63f408f614819 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 15 Jun 2025 08:40:36 +0100 Subject: [PATCH] add missing for-else comment --- src/slobs_cli/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slobs_cli/audio.py b/src/slobs_cli/audio.py index f2f2427..9758975 100644 --- a/src/slobs_cli/audio.py +++ b/src/slobs_cli/audio.py @@ -173,7 +173,7 @@ async def status(ctx: click.Context, source_name: str): ) conn.close() return - else: + else: # If no source by the given name was found conn.close() raise SlobsCliError(f'Audio source "{source_name}" not found.')