mirror of
https://github.com/beetbox/beets.git
synced 2025-12-10 10:32:34 +01:00
Changed library check from existence to directory
This commit is contained in:
parent
baf4953ac0
commit
b2ef1941aa
1 changed files with 1 additions and 1 deletions
|
|
@ -1186,7 +1186,7 @@ def update_items(lib, query, album, move, pretend, fields):
|
|||
|
||||
def update_func(lib, opts, args):
|
||||
# Verify that the library folder exists to prevent accidental wipes.
|
||||
if not os.path.exists(lib.directory):
|
||||
if not os.path.isdir(lib.directory):
|
||||
ui.print_("Library path is unavailable or does not exist.")
|
||||
ui.print_(lib.directory)
|
||||
if not ui.input_yn("Are you sure you want to continue (y/n)?", True):
|
||||
|
|
|
|||
Loading…
Reference in a new issue