mirror of
https://github.com/evilhero/mylar
synced 2025-02-02 04:21:43 +00:00
OPDS Comics and Issues
This commit is contained in:
parent
0d1c2347d7
commit
64a0820a7c
1 changed files with 1 additions and 2 deletions
|
@ -292,10 +292,9 @@ class OPDS(object):
|
||||||
links = []
|
links = []
|
||||||
entries=[]
|
entries=[]
|
||||||
comic = myDB.selectone('SELECT * from comics where ComicID=?', (kwargs['comicid'],)).fetchone()
|
comic = myDB.selectone('SELECT * from comics where ComicID=?', (kwargs['comicid'],)).fetchone()
|
||||||
if len(list(comic)) == 0:
|
if len(comic) == 0:
|
||||||
self.data = _error_with_message('Comic Not Found')
|
self.data = _error_with_message('Comic Not Found')
|
||||||
return
|
return
|
||||||
comic = list(comic)
|
|
||||||
logger.info(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:
|
||||||
|
|
Loading…
Reference in a new issue