diff options
Diffstat (limited to 'plugins/mangawindow.py')
-rwxr-xr-x | plugins/mangawindow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mangawindow.py b/plugins/mangawindow.py index 3a8c30f..2ff950e 100755 --- a/plugins/mangawindow.py +++ b/plugins/mangawindow.py @@ -55,9 +55,9 @@ def list_chapters(url, chapter_list_input): seen_urls = set() for item in chapter_list_input: - url = item.get("url") - if url and len(url) > 0: - seen_urls.add(url) + chapter_url = item.get("url") + if chapter_url and len(chapter_url) > 0: + seen_urls.add(chapter_url) tree = etree.HTML(response.text) chapters = [] |