This commit is contained in:
Kovid Goyal 2010-11-17 08:25:55 -07:00
parent aa7356e399
commit d18cf9a25b

View File

@ -1707,7 +1707,7 @@ class EPUB_MOBI(CatalogPlugin):
ttc += 1 ttc += 1
''' '''
for tag in title['tags']: for tag in title.get('tags', []):
aTag = Tag(soup,'a') aTag = Tag(soup,'a')
#print "aTag: %s" % "Genre_%s.html" % re.sub("\W","",tag.lower()) #print "aTag: %s" % "Genre_%s.html" % re.sub("\W","",tag.lower())
aTag['href'] = "Genre_%s.html" % re.sub("\W","",tag.lower()) aTag['href'] = "Genre_%s.html" % re.sub("\W","",tag.lower())