badfiles: Fix unicode error on some queries

This commit is contained in:
François-Xavier Thomas 2015-08-15 15:37:47 +02:00
parent 6095914d30
commit c54105d272

View file

@ -81,7 +81,7 @@ class BadFiles(BeetsPlugin):
return self.check_flac
def check_bad(self, lib, opts, args):
for item in lib.items(args):
for item in lib.items(ui.decargs(args)):
# First, check whether the path exists. If not, the user
# should probably run `beet update` to cleanup your library.