diff options
Diffstat (limited to 'plugins/mangaplus.py')
-rwxr-xr-x | plugins/mangaplus.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mangaplus.py b/plugins/mangaplus.py index 3658770..01940ff 100755 --- a/plugins/mangaplus.py +++ b/plugins/mangaplus.py @@ -287,6 +287,10 @@ def download_chapter(url, download_dir): download_file(page.page.image_url, page, image_path) img_number += 1 + if img_number == 1: + print("Failed to find images for chapter") + exit(2) + with open(os.path.join(download_dir, ".finished"), "w") as file: file.write("1") |