mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Update beets/ui/__init__.py
Co-authored-by: Adrian Sampson <adrian@radbox.org>
This commit is contained in:
parent
d9f08ee8ca
commit
3245675f08
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue