From b11bb782e31a46ceec39b255295a8c065f35a4c3 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 3 Apr 2026 22:30:53 -0400 Subject: [PATCH] [scrobbles] Catch attribute error in overlapping --- vrobbler/apps/scrobbles/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index e19d097..36fb6f7 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -352,7 +352,10 @@ class ScrobbleListView(LoginRequiredMixin, ListView): start = s.timestamp end = s.stop_timestamp if end is None: - end = start + datetime.timedelta(hours=12) + try: + end = start + datetime.timedelta(hours=12) + except AttributeError: + end = start return start, end for i, a in enumerate(scrobbles):