mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-27 18:13:58 +00:00
No need to calculate length of the list to test if empty.
This commit is contained in:
@@ -286,7 +286,7 @@ class CoverArt:
|
||||
def _walk(self):
|
||||
"""Downloads each item in ``try_list``. If there are none left, loading of
|
||||
``album`` will be finalized."""
|
||||
if len(self.try_list) == 0:
|
||||
if not self.try_list:
|
||||
self.album._finalize_loading(None)
|
||||
elif self.album.id not in self.album.tagger.albums:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user