Fix bug where cover param is ignored

This commit is contained in:
nathom 2021-04-05 19:11:38 -07:00
parent 696e844c30
commit caa959ba2c

View file

@ -416,8 +416,8 @@ class Track:
if embed_cover and cover is None:
assert hasattr(self, "cover_path")
cover = Tracklist.get_cover_obj(self.cover_path, self.quality)
cover = Tracklist.get_cover_obj(self.cover_path, self.quality)
if isinstance(audio, FLAC):
if embed_cover:
audio.add_picture(cover)