Merge pull request 'Rebase with upstream' (#1) from RemixDev/deemix-py:main into main

Reviewed-on: https://git.freezerapp.xyz/omtinez/deemix-py/pulls/1
This commit is contained in:
omtinez
2022-01-04 15:17:01 -05:00
4 changed files with 14 additions and 11 deletions

View File

@ -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'):