diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py index 3a7653dd5..a5fe7b0ed 100644 --- a/deluge/ui/web/json_api.py +++ b/deluge/ui/web/json_api.py @@ -693,7 +693,6 @@ class WebApi(JSONComponent): del config["pwd_salt"] del config["pwd_sha1"] return config - @export def set_config(self, config): @@ -707,4 +706,9 @@ class WebApi(JSONComponent): for key in config.keys(): if isinstance(config[key], unicode) or isinstance(config[key], str): config[key] = config[key].encode("utf8") - web_config[key] = config[key] \ No newline at end of file + web_config[key] = config[key] + + @export + def get_plugin_info(self, name): + return component.get("PluginManager").get_plugin_info(name) + \ No newline at end of file