OPDS - Annuals in Recents Fix

This commit is contained in:
LordJay23 2017-12-12 21:31:21 -05:00 committed by evilhero
parent b29a732f28
commit c8a4c9837d
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ class OPDS(object):
for issue in subset:
issuebook = myDB.fetch('SELECT * from issues WHERE IssueID = ?', (issue['IssueID'],)).fetchone()
if not issuebook:
issuebook = myDB.fetch('SELECT * from annuals WHERE IssueID = ?', (issue['IssueID'])).fetchone()
issuebook = myDB.fetch('SELECT * from annuals WHERE IssueID = ?', (issue['IssueID'],)).fetchone()
comic = myDB.fetch('SELECT * from comics WHERE ComicID = ?', (issue['ComicID'],)).fetchone()
updated = issue['DateAdded']
image = None