FIX:(#637)(#638) monthname error on post-processing, FIX:(#636) aName server error 500 on webpages

This commit is contained in:
evilhero 2014-02-26 21:45:02 -05:00
parent 606114c743
commit 436edde0e3
3 changed files with 5 additions and 3 deletions

View File

@ -704,7 +704,7 @@ class PostProcessor(object):
'$publisher': publisher.lower(),
'$VolumeY': 'V' + str(seriesyear),
'$VolumeN': comversion,
'$monthname': monthname,
'$monthname': month_name,
'$month': month,
'$Annual': 'Annual'
}

View File

@ -430,7 +430,7 @@ def rename_param(comicid, comicname, issue, ofilename, comicyear=None, issueid=N
'$publisher': publisher.lower(),
'$VolumeY': 'V' + str(seriesyear),
'$VolumeN': comversion,
'$monthname': monthname,
'$monthname': month_name,
'$month': month,
'$Annual': 'Annual'
}

View File

@ -162,7 +162,9 @@ class WebInterface(object):
acnt+=1
annualinfo = aName
#annualinfo['count'] = acnt
else: annuals = None
else:
annuals = None
aName = None
return serve_template(templatename="comicdetails.html", title=comic['ComicName'], comic=comic, issues=issues, comicConfig=comicConfig, isCounts=isCounts, series=series, annuals=annuals, annualinfo=aName)
comicDetails.exposed = True