From 100e84e2c630780b1387a8dda5f2f9c339db2db7 Mon Sep 17 00:00:00 2001 From: Markil 3 Date: Tue, 12 Aug 2025 20:50:00 -0600 Subject: [PATCH] Fixes a bug involving non-standard starting indexes --- comic_download/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comic_download/__main__.py b/comic_download/__main__.py index 7cbedf7..420bc85 100644 --- a/comic_download/__main__.py +++ b/comic_download/__main__.py @@ -116,7 +116,7 @@ def __main__(): if r and type(r[0]) == int: start = args.start or comic.get_first_strip() end = args.end or comic.get_latest_strip() - r = r[start - 1:end] + r = r[r.index(start):r.index(end) + 1] try: for index in reversed(r):