From ce021d82cf0ec84cc16a9212206eb2ea74121ec9 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Wed, 11 Sep 2019 14:38:38 -0700 Subject: [PATCH] Change filename parsing to default to the issue number e.g. 123.cbr parses with series: 123, issue number: 123 --- comicapi/filenameparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicapi/filenameparser.py b/comicapi/filenameparser.py index 476d14b..badab70 100644 --- a/comicapi/filenameparser.py +++ b/comicapi/filenameparser.py @@ -113,7 +113,7 @@ class FileNameParser: word_list = word_list[1:] else: # only one word?? just bail. - return issue, start, end + return word_list[0][0], start, end # Now try to search for the likely issue number word in the list