mirror of
https://github.com/evilhero/mylar
synced 2025-02-22 22:10:30 +00:00
FIX: Fix for typo in post-processor would result in key error
This commit is contained in:
parent
edbed3b106
commit
7919ac9feb
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ class PostProcessor(object):
|
|||
logger.fdebug('StoreDate ' + str(issuechk['ReleaseDate']))
|
||||
logger.fdebug('IssueDate: ' + str(issuechk['IssueDate']))
|
||||
if all([issuechk['ReleaseDate'] is not None, issuechk['ReleaseDate'] != '0000-00-00']) or all([issuechk['IssueDate'] is not None, issuechk['IssueDate'] != '0000-00-00']):
|
||||
if issuechk['ReleasDate'] == '0000-00-00':
|
||||
if issuechk['ReleaseDate'] == '0000-00-00':
|
||||
datevalue = issuechk['IssueDate']
|
||||
if int(datevalue[:4]) < int(arcmatch['issue_year']):
|
||||
logger.fdebug(module + ' ' + str(datevalue[:4]) + ' is before the issue year ' + str(arcmatch['issue_year']) + ' that was discovered in the filename')
|
||||
|
|
Loading…
Reference in a new issue