Skip to content

Commit

Permalink
fetchart: Check if album art file actually exists
Browse files Browse the repository at this point in the history
  • Loading branch information
reiv committed Oct 31, 2015
1 parent 5f5a894 commit 608aed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/fetchart.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def batch_fetch_art(self, lib, albums, force):
fetchart CLI command.
"""
for album in albums:
if album.artpath and not force:
if album.artpath and not force and os.path.isfile(album.artpath):
message = ui.colorize('text_highlight_minor', 'has album art')
else:
# In ordinary invocations, look for images on the
Expand Down

0 comments on commit 608aed5

Please sign in to comment.