Fix for bug #284

While is always true due to

20 < "0" being true
This commit is contained in:
Chris Chamberlain 2013-03-29 11:16:55 +00:00
parent ed6f6e93a9
commit 6a27da1cee
1 changed files with 1 additions and 1 deletions

View File

@ -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