mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
3be1ab3d62
@ -522,7 +522,8 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
res[k]['_series_sort_'] = series
|
res[k]['_series_sort_'] = series
|
||||||
else:
|
else:
|
||||||
res[k] = v
|
res[k] = v
|
||||||
return json.dumps([op, res], encoding='utf-8')
|
from calibre.utils.config import to_json
|
||||||
|
return json.dumps([op, res], encoding='utf-8', default=to_json)
|
||||||
|
|
||||||
# Network functions
|
# Network functions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user