mirror of https://github.com/evilhero/mylar
FIX: fix for post-processing assuming matches in some specific cases, when they should be not a match
This commit is contained in:
parent
f538aaa01f
commit
7dd70d8549
|
@ -744,6 +744,7 @@ class PostProcessor(object):
|
|||
logger.fdebug('%s[ISSUE-VERIFY] %s is before the issue year %s that was discovered in the filename' % (module, isc['IssueDate'], watchmatch['issue_year']))
|
||||
datematch = "False"
|
||||
|
||||
if int(watch_issueyear) != int(watchmatch['issue_year']):
|
||||
if int(monthval[5:7]) == 11 or int(monthval[5:7]) == 12:
|
||||
issyr = int(monthval[:4]) + 1
|
||||
logger.fdebug('%s[ISSUE-VERIFY] IssueYear (issyr) is %s' % (module, issyr))
|
||||
|
@ -1091,6 +1092,7 @@ class PostProcessor(object):
|
|||
logger.fdebug('%s[ARC ISSUE-VERIFY] %s is before the issue year %s that was discovered in the filename' % (module, isc['IssueDate'], arcmatch['issue_year']))
|
||||
datematch = "False"
|
||||
|
||||
if int(arc_issueyear) != int(arcmatch['issue_year']):
|
||||
if int(monthval[5:7]) == 11 or int(monthval[5:7]) == 12:
|
||||
issyr = int(monthval[:4]) + 1
|
||||
datechkit = True
|
||||
|
|
Loading…
Reference in New Issue