mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make author fields splittable, so multiple authors can be used.
This commit is contained in:
parent
ca056f014b
commit
59d5090654
@ -312,7 +312,7 @@ class Metadata(object):
|
||||
if dest == 'tags':
|
||||
self.set(dest, [f.strip() for f in val.split(',') if f.strip()])
|
||||
elif dest == 'authors':
|
||||
self.set(dest, [val])
|
||||
self.set(dest, [f.strip() for f in val.split('|') if f.strip()])
|
||||
else:
|
||||
self.set(dest, val)
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user