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:32:39 -04:00 committed by evilhero
parent d1fe14742c
commit 64465a0c51

View file

@ -292,7 +292,7 @@ class OPDS(object):
links = []
entries=[]
comic = myDB.selectone('SELECT * from comics where ComicID=?', (kwargs['comicid'],))
if len(comic) == 0:
if len(list(comic)) == 0:
self.data = _error_with_message('Comic Not Found')
return
issues = self._dic_from_query('SELECT * from issues WHERE ComicID="' + kwargs['comicid'] + '"order by Int_IssueNumber DESC')