mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 16:34:45 +01:00
Fix a docstring
This commit is contained in:
parent
0c3675ada0
commit
38c5bb3666
1 changed files with 5 additions and 2 deletions
|
|
@ -24,8 +24,11 @@ import os
|
|||
|
||||
|
||||
def _items_for_query(lib, queries, album):
|
||||
"""Get the matching items for a query.
|
||||
`album` indicates whether the queries are item-level or album-level.
|
||||
"""Get the matching items for a list of queries.
|
||||
|
||||
`queries` can either be a single string or a list of strings. In the
|
||||
latter case, the results from each query are concatenated. `album`
|
||||
indicates whether the queries are item-level or album-level.
|
||||
"""
|
||||
request = lib.albums if album else lib.items
|
||||
if isinstance(queries, basestring):
|
||||
|
|
|
|||
Loading…
Reference in a new issue