@@ -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"