mirror of https://github.com/evilhero/mylar
FIX: update opds.py for tiered searches
Changes to the annual table caused annual detection to break.
This commit is contained in:
parent
2743e8fad0
commit
18b5608998
|
@ -380,7 +380,7 @@ class OPDS(object):
|
|||
updated = issue['ReleaseDate']
|
||||
image = None
|
||||
thumbnail = None
|
||||
if 'DateAdded' in issue:
|
||||
if not 'ReleaseComicID' in issue:
|
||||
title = escape('%s - %s' % (issue['Issue_Number'], issue['IssueName']))
|
||||
image = issue['ImageURL_ALT']
|
||||
thumbnail = issue['ImageURL']
|
||||
|
@ -451,7 +451,7 @@ class OPDS(object):
|
|||
image = None
|
||||
thumbnail = None
|
||||
if issuebook:
|
||||
if 'DateAdded' in issuebook.keys():
|
||||
if not 'ReleaseComicID' in issuebook.keys():
|
||||
if issuebook['DateAdded'] is None:
|
||||
title = escape('%03d: %s #%s - %s (In stores %s)' % (index + number, issuebook['ComicName'], issuebook['Issue_Number'], issuebook['IssueName'], issuebook['ReleaseDate']))
|
||||
image = issuebook['ImageURL_ALT']
|
||||
|
|
Loading…
Reference in New Issue