Forgot to keep from/to_json in config namespace

This commit is contained in:
Kovid Goyal 2019-03-16 14:23:25 +05:30
parent 7b2620a0ac
commit 1e1ad23ec7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -19,7 +19,7 @@ from calibre.constants import (
from calibre.utils.config_base import ( from calibre.utils.config_base import (
Config, ConfigInterface, ConfigProxy, Option, OptionSet, OptionValues, Config, ConfigInterface, ConfigProxy, Option, OptionSet, OptionValues,
StringConfig, json_dumps, json_loads, make_config_dir, plugin_dir, prefs, StringConfig, json_dumps, json_loads, make_config_dir, plugin_dir, prefs,
read_raw_tweaks, read_tweaks, tweaks, write_tweaks read_raw_tweaks, read_tweaks, tweaks, write_tweaks, from_json, to_json
) )
from calibre.utils.lock import ExclusiveFile from calibre.utils.lock import ExclusiveFile
@ -32,7 +32,7 @@ if False:
# Make pyflakes happy # Make pyflakes happy
Config, ConfigProxy, Option, OptionValues, StringConfig Config, ConfigProxy, Option, OptionValues, StringConfig
OptionSet, ConfigInterface, read_tweaks, write_tweaks OptionSet, ConfigInterface, read_tweaks, write_tweaks
read_raw_tweaks, tweaks, plugin_dir, prefs read_raw_tweaks, tweaks, plugin_dir, prefs, from_json, to_json
def check_config_write_access(): def check_config_write_access():