mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Only delete album item mtimes that are in the dictionary.
This commit is contained in:
parent
94aad7e309
commit
f8abd50090
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ def update_album_times(lib, album):
|
|||
if config['importmtimes']['preserve_mtimes'].get(bool):
|
||||
write_item_mtime(item, mtime)
|
||||
item.store()
|
||||
del item_mtime[item.path]
|
||||
del item_mtime[item.path]
|
||||
|
||||
album.added = min(album_mtimes)
|
||||
album.store()
|
||||
|
|
|
|||
Loading…
Reference in a new issue