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

This commit is contained in:
evilhero 2019-10-05 11:53:10 -04:00
parent 356ecf0dca
commit 29f39e59ed
1 changed files with 5 additions and 0 deletions

View File

@ -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