mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 22:42:44 +01:00
smartplaylist: fix docstring
This commit is contained in:
parent
ca91bc8920
commit
9a2a9b0144
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@ 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"""
|
||||
`album` indicates whether the queries are item-level or album-level.
|
||||
"""
|
||||
request = lib.albums if album else lib.items
|
||||
if isinstance(queries, basestring):
|
||||
return request(queries)
|
||||
|
|
|
|||
Loading…
Reference in a new issue