From 3aa1389eed03df06cada8cf3c1964b9d5761167c Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 29 Dec 2021 17:42:45 +0100 Subject: [PATCH] fixed album art not downloading --- deemix/types/Album.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/types/Album.py b/deemix/types/Album.py index e95dae4..9fee6f1 100644 --- a/deemix/types/Album.py +++ b/deemix/types/Album.py @@ -94,7 +94,7 @@ class Album: self.discTotal = albumAPI.get('nb_disk', "1") self.copyright = albumAPI.get('copyright', "") - if self.pic.md5 == "": + if not self.pic.md5 or self.pic.md5 == "": if albumAPI.get('md5_image'): self.pic.md5 = albumAPI['md5_image'] elif albumAPI.get('cover_small'):