aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/mangaplus.shueisha.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mangaplus.shueisha.py b/plugins/mangaplus.shueisha.py
index d0978e7..5cd9b67 100755
--- a/plugins/mangaplus.shueisha.py
+++ b/plugins/mangaplus.shueisha.py
@@ -233,13 +233,13 @@ def list_chapters(url, chapter_list_input):
seen_urls.add(url)
resp_data = resp.success.title_detail
- all_chapters_reversed = []
+ all_chapters = []
for resp_chapters in (resp_data.first_chapters, resp_data.last_chapters):
for chapter in resp_chapters:
- all_chapters_reversed.append(chapter)
+ all_chapters.append(chapter)
chapters = []
- for chapter in reversed(all_chapters_reversed):
+ for chapter in reversed(all_chapters):
title = chapter.subtitle
url = "https://mangaplus.shueisha.co.jp/viewer/{0}".format(chapter.id)
if title.lower().replace(" ", "") in seen_titles or url in seen_urls: