1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-23 16:22:45 +00:00

OPDS Comics and Issues

This commit is contained in:
DarkSir23 2017-11-01 13:44:33 -04:00 committed by evilhero
parent 6fc94f2e93
commit db8bfacf07

View file

@ -295,7 +295,8 @@ class OPDS(object):
if len(list(comic)) == 0:
self.data = _error_with_message('Comic Not Found')
return
comic = list(comic)[0]
comic = list(comic)
logger.info(comic)
issues = self._dic_from_query('SELECT * from issues WHERE ComicID="' + kwargs['comicid'] + '"order by Int_IssueNumber DESC')
if mylar.CONFIG.ANNUALS_ON:
annuals = self._dic_from_query('SELECT * FROM annuals WHERE ComicID="' + kwargs['comicid'] + '"')