From b2ef1941aaf624ee52551a918baaadc3873c0db7 Mon Sep 17 00:00:00 2001 From: Logan Arens Date: Sat, 12 Oct 2019 14:00:44 -0400 Subject: [PATCH] Changed library check from existence to directory --- beets/ui/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index a6d712dbf..56f9ad1f5 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -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):