From 0030a2218c62679444288d8196f569671799f8c8 Mon Sep 17 00:00:00 2001 From: Logan Arens Date: Wed, 9 Oct 2019 23:17:07 -0400 Subject: [PATCH] Small cosmetic changes to meet flake8 standards --- beets/ui/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index e9afa2f18..94baced22 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -1185,13 +1185,13 @@ def update_items(lib, query, album, move, pretend, fields): def update_func(lib, opts, args): - # Verify that the library folder exists. (disk isn't unmounted, for example) + # Verify that the library folder exists to prevent accidental wipes. if not os.path.exists(lib.directory): ui.print_("Library path is unavailable or does not exist.") if not ui.input_yn("Are you sure you want to continue (y/n)?", True): return update_items(lib, decargs(args), opts.album, ui.should_move(opts.move), - opts.pretend, opts.fields) + opts.pretend, opts.fields) update_cmd = ui.Subcommand(