fix mbsync bug

This fixes a bug that only applied changes to the first item of an album
This commit is contained in:
Lucas Duailibe 2013-03-17 02:50:32 -03:00
parent a9ca438f82
commit 7b2ff4ae9b

View file

@ -111,8 +111,8 @@ def mbsync_albums(lib, query, move, pretend, write):
autotag.apply_metadata(album_info, mapping)
changed = False
for item in items:
changed = changed or \
_print_and_apply_changes(lib, item, move, pretend, write)
changed = _print_and_apply_changes(lib, item, move, pretend,
write) or changed
if not changed:
# No change to any item.
continue