mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:53:27 +02:00
...
This commit is contained in:
parent
70dbf14a12
commit
7f63b4bc40
1 changed files with 2 additions and 1 deletions
|
|
@ -145,7 +145,8 @@ def __init__(self, field):
|
|||
self.field = field
|
||||
dt = field.metadata['datatype']
|
||||
self.accept_vals = lambda x: True
|
||||
if dt == 'composite' or field.name in {'id', 'cover', 'size', 'path'}:
|
||||
if dt == 'composite' or field.name in {
|
||||
'id', 'cover', 'size', 'path', 'formats', 'news'}:
|
||||
self.set_books_func = dummy
|
||||
elif field.is_many:
|
||||
# TODO: Implement this
|
||||
|
|
|
|||
Loading…
Reference in a new issue