From 2bfb99f72050d3e88840dfc28355cef5e5c986d9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 21 Nov 2019 04:57:16 +0100 Subject: Use list instead of object for plugin list command --- plugins/manganelo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/manganelo.py') diff --git a/plugins/manganelo.py b/plugins/manganelo.py index 531fa8d..f5ae49f 100755 --- a/plugins/manganelo.py +++ b/plugins/manganelo.py @@ -55,7 +55,7 @@ def list_chapters(url, latest): if latest and element_text == latest: break chapters.append({ "name": element_text, "url": element.attrib.get("href").strip() }) - print(json.dumps({ "items": chapters })) + print(json.dumps(chapters)) def download_chapter(url, download_dir): response = requests.get(url) -- cgit v1.2.3