[scrobbles] Fix missing note error

This commit is contained in:
2025-11-17 21:45:17 -05:00
parent b0eb58953b
commit 2d235c0577

View File

@ -952,7 +952,7 @@ class ScrobbleDetailView(DetailView):
if isinstance(initial_notes, list) and len(initial_notes) > 0 and isinstance(initial_notes[0], dict):
notes_str = note_list_to_str(notes)
else:
notes_str = "\n".join(initial_notes)
notes_str = "\n".join(initial_notes) if initial_notes else ""
notes_str_fixed = notes_str.encode("utf-8").decode(
"unicode_escape"