From 64465a0c513e2713bb325eddb66c21081a815380 Mon Sep 17 00:00:00 2001 From: DarkSir23 Date: Wed, 1 Nov 2017 13:32:39 -0400 Subject: [PATCH] OPDS Comics and Issues --- mylar/opds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/opds.py b/mylar/opds.py index bd9b126b..6c662a66 100644 --- a/mylar/opds.py +++ b/mylar/opds.py @@ -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')