From 64a0820a7c72996d639b893a2b587fe5f6a99204 Mon Sep 17 00:00:00 2001 From: DarkSir23 Date: Wed, 1 Nov 2017 13:58:41 -0400 Subject: [PATCH] OPDS Comics and Issues --- mylar/opds.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mylar/opds.py b/mylar/opds.py index ea2e244f..8e3bae70 100644 --- a/mylar/opds.py +++ b/mylar/opds.py @@ -292,10 +292,9 @@ class OPDS(object): links = [] entries=[] 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') return - 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: