From 4f8fff5daa4e400403e12970c9076babf791e93f Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Wed, 18 Feb 2026 21:57:04 -0800 Subject: [PATCH] Update web_server.py --- web_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_server.py b/web_server.py index 59fd9d42..d7f6b551 100644 --- a/web_server.py +++ b/web_server.py @@ -25490,7 +25490,7 @@ def get_spotify_artist_discography(artist_name): for album in all_albums: # Skip albums where this artist isn't the primary (first-listed) artist - if album.artist_ids and album.artist_ids[0] != spotify_artist_id: + if getattr(album, 'artist_ids', None) and album.artist_ids[0] != spotify_artist_id: continue # Use the Album object properties