mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
fix inconsistency field type for default book
This commit is contained in:
parent
7c406b5d01
commit
d1565ee98f
@ -548,7 +548,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
|||||||
elif fm[col]['datatype'] == 'bool':
|
elif fm[col]['datatype'] == 'bool':
|
||||||
mi.set(col, False)
|
mi.set(col, False)
|
||||||
elif fm[col]['is_multiple']:
|
elif fm[col]['is_multiple']:
|
||||||
mi.set(col, (col,))
|
mi.set(col, [col])
|
||||||
else:
|
else:
|
||||||
mi.set(col, col, 1)
|
mi.set(col, col, 1)
|
||||||
mi = (mi, )
|
mi = (mi, )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user