mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
embedart: Added syspath call to art exists check
This commit is contained in:
parent
016c901e6f
commit
c76f8bee46
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ def embed_album(album, maxwidth=None, quiet=False):
|
|||
log.info(u'No album art present: {0} - {1}'.
|
||||
format(album.albumartist, album.album))
|
||||
return
|
||||
if not os.path.isfile(imagepath):
|
||||
if not os.path.isfile(syspath(imagepath)):
|
||||
log.error(u'Album art not found at {0}'
|
||||
.format(displayable_path(imagepath)))
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue