mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4d12b97249
commit
0255bce10d
@ -236,7 +236,6 @@ def book_metadata(ctx, rd, book_id):
|
|||||||
data = book_as_json(db, book_id)
|
data = book_as_json(db, book_id)
|
||||||
if data is None:
|
if data is None:
|
||||||
notfound()
|
notfound()
|
||||||
data['id'] = book_id
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@endpoint('/interface-data/tag-browser')
|
@endpoint('/interface-data/tag-browser')
|
||||||
|
@ -21,7 +21,7 @@ from calibre.utils.file_type_icons import EXT_MAP
|
|||||||
from calibre.utils.icu import collation_order
|
from calibre.utils.icu import collation_order
|
||||||
from calibre.library.field_metadata import category_icon_map
|
from calibre.library.field_metadata import category_icon_map
|
||||||
|
|
||||||
IGNORED_FIELDS = frozenset('cover ondevice path marked id au_map'.split())
|
IGNORED_FIELDS = frozenset('cover ondevice path marked au_map'.split())
|
||||||
|
|
||||||
def encode_datetime(dateval):
|
def encode_datetime(dateval):
|
||||||
if dateval is None:
|
if dateval is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user