Skip to content

Commit

Permalink
embedart: Added syspath call to art exists check
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ludwig committed Dec 21, 2014
1 parent 016c901 commit c76f8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/embedart.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c76f8be

Please sign in to comment.