1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-03-09 13:24:53 +00:00

OPDS Comics and Issues

This commit is contained in:
DarkSir23 2017-11-01 13:42:18 -04:00 committed by evilhero
parent 86257821fc
commit 6fc94f2e93

View file

@ -295,6 +295,7 @@ class OPDS(object):
if len(list(comic)) == 0:
self.data = _error_with_message('Comic Not Found')
return
comic = list(comic)[0]
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'] + '"')