aboutsummaryrefslogtreecommitdiff
path: root/plugins/manganelo.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/manganelo.py')
-rwxr-xr-xplugins/manganelo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/manganelo.py b/plugins/manganelo.py
index 352bb23..d8b5c9a 100755
--- a/plugins/manganelo.py
+++ b/plugins/manganelo.py
@@ -91,6 +91,10 @@ def download_chapter(url, download_dir):
print("resource temporary unavailable: %s" % image_source)
exit(2)
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")