mirror of https://github.com/evilhero/mylar
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:
parent
5a41c1b0e2
commit
6935260168
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue