From 6a27da1ceee47a8f97df6045e870fe9e861e51ee Mon Sep 17 00:00:00 2001 From: Chris Chamberlain Date: Fri, 29 Mar 2013 11:16:55 +0000 Subject: [PATCH] Fix for bug #284 While is always true due to 20 < "0" being true --- mylar/mb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/mb.py b/mylar/mb.py index ca5f2831..e65f99ae 100755 --- a/mylar/mb.py +++ b/mylar/mb.py @@ -70,7 +70,7 @@ def findComic(name, mode, issue, limityear=None): if not totalResults: return False countResults = 0 - while (countResults < totalResults): + while (countResults < int(totalResults)): #print ("querying " + str(countResults)) if countResults > 0: #new api - have to change to page # instead of offset count