mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Fix json get_webui_config
This commit is contained in:
parent
f945a6f597
commit
3f3092cd8a
@ -172,7 +172,7 @@ class json_rpc:
|
|||||||
}
|
}
|
||||||
|
|
||||||
def get_webui_config(self):
|
def get_webui_config(self):
|
||||||
return dict([x for x in utils.config.config().iteritems() if not x[0].startswith("pwd")])
|
return dict([x for x in utils.config.config.iteritems() if not x[0].startswith("pwd")])
|
||||||
|
|
||||||
def set_webui_config(self, data):
|
def set_webui_config(self, data):
|
||||||
utils.validate_config(data)
|
utils.validate_config(data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user