From 9a2a9b0144ebb19108118cce1ecfc8a5391fdba9 Mon Sep 17 00:00:00 2001 From: Bruno Cauet Date: Tue, 13 Jan 2015 18:53:47 +0100 Subject: [PATCH] smartplaylist: fix docstring --- beetsplug/smartplaylist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beetsplug/smartplaylist.py b/beetsplug/smartplaylist.py index a7c83f0b8..15cb46057 100644 --- a/beetsplug/smartplaylist.py +++ b/beetsplug/smartplaylist.py @@ -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)