1
0
Fork 0
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:
evilhero 2013-04-10 01:27:42 -04:00
parent 1feedd55e0
commit a3e60b24a3

View file

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