refactor: confidence should always have a value

This commit is contained in:
2026-04-02 10:33:12 +02:00
parent eafc0bf396
commit 7aba5c854e
6 changed files with 37 additions and 40 deletions
+2
View File
@@ -453,6 +453,8 @@ def _print_cache_row(row: dict, indent: str = "") -> None:
print(f"{indent} Lyrics : {line_count} lines")
if confidence is not None:
print(f"{indent} Confidence: {confidence:.0f}")
else:
print(f"{indent} Confidence: (legacy)")
def run():