mirror of
https://github.com/evilhero/mylar
synced 2025-03-08 21:03:36 +00:00
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
1 changed files with 28 additions and 26 deletions
|
@ -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']))
|
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"
|
datematch = "False"
|
||||||
|
|
||||||
|
if int(watch_issueyear) != int(watchmatch['issue_year']):
|
||||||
if int(monthval[5:7]) == 11 or int(monthval[5:7]) == 12:
|
if int(monthval[5:7]) == 11 or int(monthval[5:7]) == 12:
|
||||||
issyr = int(monthval[:4]) + 1
|
issyr = int(monthval[:4]) + 1
|
||||||
logger.fdebug('%s[ISSUE-VERIFY] IssueYear (issyr) is %s' % (module, issyr))
|
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']))
|
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"
|
datematch = "False"
|
||||||
|
|
||||||
|
if int(arc_issueyear) != int(arcmatch['issue_year']):
|
||||||
if int(monthval[5:7]) == 11 or int(monthval[5:7]) == 12:
|
if int(monthval[5:7]) == 11 or int(monthval[5:7]) == 12:
|
||||||
issyr = int(monthval[:4]) + 1
|
issyr = int(monthval[:4]) + 1
|
||||||
datechkit = True
|
datechkit = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue