From ba2cfcd32944f7d6d1b4a9af2350948efb54750e Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Tue, 14 Jun 2016 04:32:54 -0400 Subject: [PATCH] bytestringify subdir paths in importer.albums_in_dir --- beets/importer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beets/importer.py b/beets/importer.py index a785b23a5..4209a4831 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -1494,6 +1494,7 @@ def albums_in_dir(path): start_collapsing = True subdir_pat = None for subdir in dirs: + subdir = util.bytestring_path(subdir) # The first directory dictates the pattern for # the remaining directories. if not subdir_pat: