mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 03:54:28 +02:00
Make smart_update correctly merge is_multiple custom columns.
This commit is contained in:
parent
6c06fd23ec
commit
28d767261d
1 changed files with 2 additions and 2 deletions
|
|
@ -529,8 +529,8 @@ def copy_not_none(dest, src, attr):
|
|||
for t in st.intersection(ot):
|
||||
sidx = lstags.index(t)
|
||||
oidx = lotags.index(t)
|
||||
self_tags[sidx] = other.tags[oidx]
|
||||
self_tags += [t for t in other.tags if t.lower() in ot-st]
|
||||
self_tags[sidx] = other_tags[oidx]
|
||||
self_tags += [t for t in other_tags if t.lower() in ot-st]
|
||||
setattr(self, x, self_tags)
|
||||
|
||||
my_comments = getattr(self, 'comments', '')
|
||||
|
|
|
|||
Loading…
Reference in a new issue