mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #4650 (Comma in Tag information causes issues)
This commit is contained in:
parent
b97960e310
commit
1b4ec12d6d
@ -63,6 +63,7 @@ def get_social_metadata(title, authors, publisher, isbn):
|
||||
mi.tags = []
|
||||
for x in tags:
|
||||
mi.tags.extend([y.strip() for y in x.split('/')])
|
||||
mi.tags = [x.replace(',', ';') for x in mi.tags]
|
||||
comments = root.find('.//%s/%s'%(AWS('EditorialReview'),
|
||||
AWS('Content')))
|
||||
if comments is not None:
|
||||
|
@ -143,7 +143,7 @@ class ResultList(list):
|
||||
except:
|
||||
report(verbose)
|
||||
tags = []
|
||||
return tags
|
||||
return [x.replace(',', ';') for x in tags]
|
||||
|
||||
def get_publisher(self, entry, verbose):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user