mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Auto path detection: use clearer variable name
Per sampsyo's suggestion See #1302
This commit is contained in:
parent
f1ce37e20e
commit
d8ebc71f98
1 changed files with 2 additions and 2 deletions
|
|
@ -1060,8 +1060,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_query = 'path' in model_cls._fields
|
||||
query.subqueries += [PathQuery('path', s, fast_query) for s in path_parts]
|
||||
fast_path_query = 'path' in model_cls._fields
|
||||
query.subqueries += [PathQuery('path', s, fast_path_query) for s in path_parts]
|
||||
|
||||
return query, sort
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue