aboutsummaryrefslogtreecommitdiff
path: root/plugins/manganelo.py
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-11-21 04:57:16 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:12:34 +0200
commit2bfb99f72050d3e88840dfc28355cef5e5c986d9 (patch)
treeefa7a7d472d5049937a984cf78784f6f1188974a /plugins/manganelo.py
parentfb4d83ed80585ab1b6bc0a05d67e27cd30941bcf (diff)
Use list instead of object for plugin list command
Diffstat (limited to 'plugins/manganelo.py')
-rwxr-xr-xplugins/manganelo.py2
1 files changed, 1 insertions, 1 deletions
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)