1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-22 07:42:24 +00:00

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

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