mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[Core] Move readonly key setting closer to config init
This commit is contained in:
parent
2321f32f84
commit
706d53ab4a
1 changed files with 5 additions and 0 deletions
|
@ -137,6 +137,11 @@ class Core(component.Component):
|
|||
# GeoIP instance with db loaded
|
||||
self.geoip_instance = None
|
||||
|
||||
# These keys will be dropped from the set_config() RPC and are
|
||||
# configurable from the command-line.
|
||||
self.read_only_config_keys = read_only_config_keys
|
||||
log.debug('read_only_config_keys: %s', read_only_config_keys)
|
||||
|
||||
# Get the core config
|
||||
self.config = ConfigManager('core.conf')
|
||||
self.config.save()
|
||||
|
|
Loading…
Add table
Reference in a new issue