1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-24 00:32:47 +00:00

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

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