aboutsummaryrefslogtreecommitdiff
path: root/plugins/readms.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/readms.py')
-rwxr-xr-xplugins/readms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/readms.py b/plugins/readms.py
index 0ebbe13..a5343b8 100755
--- a/plugins/readms.py
+++ b/plugins/readms.py
@@ -55,7 +55,7 @@ def list_chapters(url, latest):
if latest and element_text == latest:
break
chapters.append({ "name": element_text, "url": "https://readms.net" + element.attrib.get("href").strip() })
- print(json.dumps({ "items": chapters }))
+ print(json.dumps(chapters))
def download_chapter(url, download_dir):
in_progress_filepath = os.path.join(download_dir, ".in_progress")