diff --git a/beets/library.py b/beets/library.py index e807d386a..e4fbd1d49 100644 --- a/beets/library.py +++ b/beets/library.py @@ -1061,7 +1061,8 @@ def parse_query_parts(parts, model_cls): # Add path queries to aggregate query. # Match field / flexattr depending on whether the model has the path field fast_path_query = 'path' in model_cls._fields - query.subqueries += [PathQuery('path', s, fast_path_query) for s in path_parts] + query.subqueries += [PathQuery('path', s, fast_path_query) + for s in path_parts] return query, sort