mirror of https://github.com/evilhero/mylar
OPDS Comics and Issues
This commit is contained in:
parent
6fc94f2e93
commit
db8bfacf07
|
@ -295,7 +295,8 @@ class OPDS(object):
|
||||||
if len(list(comic)) == 0:
|
if len(list(comic)) == 0:
|
||||||
self.data = _error_with_message('Comic Not Found')
|
self.data = _error_with_message('Comic Not Found')
|
||||||
return
|
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')
|
issues = self._dic_from_query('SELECT * from issues WHERE ComicID="' + kwargs['comicid'] + '"order by Int_IssueNumber DESC')
|
||||||
if mylar.CONFIG.ANNUALS_ON:
|
if mylar.CONFIG.ANNUALS_ON:
|
||||||
annuals = self._dic_from_query('SELECT * FROM annuals WHERE ComicID="' + kwargs['comicid'] + '"')
|
annuals = self._dic_from_query('SELECT * FROM annuals WHERE ComicID="' + kwargs['comicid'] + '"')
|
||||||
|
|
Loading…
Reference in New Issue