mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 16:22:45 +00:00
FIX:(#318) Invalid Issue error when trying to add series with the latest issue being a non-numerical issue (ie.1AU) from pullist
This commit is contained in:
parent
1feedd55e0
commit
a3e60b24a3
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ 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:
|
||||
if issue is not None and issue.isdigit():
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue