From 29f39e59ed8b53a6ff99431312358389d28ae861 Mon Sep 17 00:00:00 2001 From: evilhero Date: Sat, 5 Oct 2019 11:53:10 -0400 Subject: [PATCH] FIX: filenames having a decimal as a space delimiter and also a series titles containting a hyphen would not be able to have the issue number properly detected --- mylar/filechecker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mylar/filechecker.py b/mylar/filechecker.py index 9fcda37f..a9421524 100755 --- a/mylar/filechecker.py +++ b/mylar/filechecker.py @@ -854,6 +854,11 @@ class FileChecker(object): 'number': pis['number'], 'position': pis['position']}) continue + #2019-10-05 fix - if decimal-spaced filename has a series title with a hyphen will include issue # as part of series title + elif yearposition == pis['position']: + logger.info('Already validated year, ignoring as possible issue number: ' + str(pis['number'])) + continue + #end 2019-10-05 elif yearposition == pis['position']: logger.fdebug('Already validated year, ignoring as possible issue number: ' + str(pis['number'])) continue