From a7605d9cc5e5e834cb633301b7afd091d03cb1c3 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 24 Mar 2023 15:18:59 -0400 Subject: [PATCH] Fix small bug in getting album cover images --- vrobbler/apps/music/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/music/models.py b/vrobbler/apps/music/models.py index 17a0870..c05af46 100644 --- a/vrobbler/apps/music/models.py +++ b/vrobbler/apps/music/models.py @@ -395,7 +395,7 @@ class Track(ScrobblableMixin): url = "" if self.artist.thumbnail: url = self.artist.thumbnail.url - if self.album and self.album.cover_image.url: + if self.album and self.album.cover_image: url = self.album.cover_image.url return url