FIX: (#867) Related to new pull-list for this week, had an incomplete field which caused the pull to fail.

This commit is contained in:
evilhero 2014-10-28 13:08:18 -04:00
parent 5a41c1b0e2
commit 6935260168
1 changed files with 10 additions and 1 deletions

View File

@ -246,7 +246,16 @@ def pullit(forcecheck=None):
comcnm = re.sub('1 FOR \$1','', comicnm).strip()
#logger.info("Comicname: " + str(comicnm) )
#get remainder
comicrm = issname[comicend +2]
try:
comicrm = issname[comicend +2]
except:
try:
comicrm = issname[comicend +1]
except:
try:
comicrm = issname[comicend]
except:
comicrm = '$'
if '$' in comicrm:
comicrm="None"
n = (comicend + 3)