From 3245675f08fc300e50f02baec6e1c08f2b8598d5 Mon Sep 17 00:00:00 2001 From: era <58888291+cubicvoid@users.noreply.github.com> Date: Sun, 3 Dec 2023 09:48:14 -0500 Subject: [PATCH] Update beets/ui/__init__.py Co-authored-by: Adrian Sampson --- beets/ui/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py index 4b42d75ab..5e445613f 100644 --- a/beets/ui/__init__.py +++ b/beets/ui/__init__.py @@ -858,7 +858,7 @@ def split_into_lines(string, width_tuple): m.group("esc") + raw_word + RESET_COLOR for raw_word in raw_words ] - elif len(raw_words) >= 1: + elif raw_words: # Pretext stops mid-word if m.group("esc") != RESET_COLOR: # Add the rest of the current word, with a reset after it