FIX: it's a key, dummy

This commit is contained in:
Barbeque Sauce 2018-03-09 12:27:12 -05:00 committed by evilhero
parent 506435c598
commit 3ffec19628
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ class OPDS(object):
thumbnail = None
if issuebook:
if 'DateAdded' in issuebook.keys():
if 'DateAdded' is None:
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']
thumbnail = issuebook['ImageURL']