mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
aa7356e399
commit
d18cf9a25b
@ -1707,7 +1707,7 @@ class EPUB_MOBI(CatalogPlugin):
|
||||
ttc += 1
|
||||
'''
|
||||
|
||||
for tag in title['tags']:
|
||||
for tag in title.get('tags', []):
|
||||
aTag = Tag(soup,'a')
|
||||
#print "aTag: %s" % "Genre_%s.html" % re.sub("\W","",tag.lower())
|
||||
aTag['href'] = "Genre_%s.html" % re.sub("\W","",tag.lower())
|
||||
|
Loading…
x
Reference in New Issue
Block a user