From 619344c8134f553e00563d9bb19f736cc6e92457 Mon Sep 17 00:00:00 2001 From: Max Ammann Date: Mon, 13 Jun 2016 14:38:51 +0200 Subject: [PATCH] Added documentation for the expand parameter --- beetsplug/web/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py index e485bc84d..65c1dcad8 100644 --- a/beetsplug/web/__init__.py +++ b/beetsplug/web/__init__.py @@ -60,6 +60,8 @@ def json_generator(items, root, expand=False): :param root: root key for JSON :param items: list of :class:`Item` or :class:`Album` to dump + :param expand: If true every :class:`Album` contains its items in the json + representation :returns: generator that yields strings """ yield '{"%s":[' % root