From 3f3092cd8a27843e4ca8f147011ae9c1bfcdf83e Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 8 Nov 2008 06:28:41 +0000 Subject: [PATCH] Fix json get_webui_config --- deluge/ui/webui/json_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/webui/json_api.py b/deluge/ui/webui/json_api.py index 05dbf853d..26008aa7e 100644 --- a/deluge/ui/webui/json_api.py +++ b/deluge/ui/webui/json_api.py @@ -172,7 +172,7 @@ class json_rpc: } 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): utils.validate_config(data)