mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 08:56:06 +01:00
Fix merging enumerated types problem described in http://www.mobileread.com/forums/showthread.php?t=245435
This commit is contained in:
parent
607e920370
commit
fa0dbfecf3
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ def is_null_date(x):
|
|||
if (dt == 'series' and not dest_value and src_value):
|
||||
src_index = db.get_custom_extra(src_id, num=colnum, index_is_id=True)
|
||||
db.set_custom(dest_id, src_value, num=colnum, extra=src_index)
|
||||
if (dt == 'enumeration' or (dt == 'text' and not fm['is_multiple']) and not dest_value):
|
||||
if ((dt == 'enumeration' or (dt == 'text' and not fm['is_multiple'])) and not dest_value):
|
||||
db.set_custom(dest_id, src_value, num=colnum)
|
||||
if (dt == 'text' and fm['is_multiple'] and src_value):
|
||||
if not dest_value:
|
||||
|
|
|
|||
Loading…
Reference in a new issue