mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Make smart_update correctly merge is_multiple custom columns.
This commit is contained in:
parent
6c06fd23ec
commit
28d767261d
@ -529,8 +529,8 @@ class Metadata(object):
|
|||||||
for t in st.intersection(ot):
|
for t in st.intersection(ot):
|
||||||
sidx = lstags.index(t)
|
sidx = lstags.index(t)
|
||||||
oidx = lotags.index(t)
|
oidx = lotags.index(t)
|
||||||
self_tags[sidx] = other.tags[oidx]
|
self_tags[sidx] = other_tags[oidx]
|
||||||
self_tags += [t for t in other.tags if t.lower() in ot-st]
|
self_tags += [t for t in other_tags if t.lower() in ot-st]
|
||||||
setattr(self, x, self_tags)
|
setattr(self, x, self_tags)
|
||||||
|
|
||||||
my_comments = getattr(self, 'comments', '')
|
my_comments = getattr(self, 'comments', '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user