mbsync: fix redundant album art movement

Since we explicitly move album art later in the process, implicitly moving it
with items can cause a double-move (and thus a "file not found" error).
This commit is contained in:
Adrian Sampson 2013-03-03 17:46:16 -08:00
parent 18688008a4
commit 1a7ec6dc79

View file

@ -44,7 +44,7 @@ def _print_and_apply_changes(lib, item, move, pretend, write):
if not pretend:
# Move the item if it's in the library.
if move and lib.directory in util.ancestry(item.path):
lib.move(item)
lib.move(item, with_album=False)
if write:
item.write()