mirror of
https://github.com/evilhero/mylar
synced 2024-12-24 08:42:37 +00:00
FIX:(#247) Clicking on Add Series would return no search results for some series
This commit is contained in:
parent
8173283dc0
commit
b313ace328
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ def findComic(name, mode, issue, limityear=None):
|
|||
xmlcnt = result.getElementsByTagName('count_of_issues')[0].firstChild.wholeText
|
||||
#here we can determine what called us, and either start gathering all issues or just limited ones.
|
||||
#print ("n: " + str(n) + "--xmcnt" + str(xmlcnt))
|
||||
if issue is not None: limiter = int(issue)
|
||||
if issue is not None:
|
||||
#this gets buggered up with NEW/ONGOING series because the db hasn't been updated
|
||||
#to reflect the proper count. Drop it by 1 to make sure.
|
||||
limiter = int(issue) - 1
|
||||
else: limiter = 0
|
||||
if int(xmlcnt) >= limiter:
|
||||
|
||||
|
|
Loading…
Reference in a new issue