mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
fix: use try_sync
This commit is contained in:
parent
f805e52d8d
commit
bc0a93d8b7
1 changed files with 1 additions and 7 deletions
|
|
@ -56,13 +56,7 @@ def apply_item_changes(lib, item, move, pretend, write):
|
|||
"""Store, move and write the item according to the arguments.
|
||||
"""
|
||||
if not pretend:
|
||||
# Move the item if it's in the library.
|
||||
if move and lib.directory in util.ancestry(item.path):
|
||||
item.move(with_album=False)
|
||||
|
||||
if write:
|
||||
item.try_write()
|
||||
item.store()
|
||||
item.try_sync(write, move)
|
||||
|
||||
|
||||
def get_series_type(name):
|
||||
|
|
|
|||
Loading…
Reference in a new issue