summaryrefslogtreecommitdiffstats
path: root/pyload/api
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-11 02:07:42 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-11 02:07:42 +0100
commit25f6be5c9259d17ee0a3de5eb056b07f505a5f7d (patch)
tree8f7d1982620452aa65c26b381a5682a509044422 /pyload/api
parentRename some Addon methods (diff)
downloadpyload-25f6be5c9259d17ee0a3de5eb056b07f505a5f7d.tar.xz
Rename some events + engage renamed addon methods
Diffstat (limited to 'pyload/api')
-rw-r--r--pyload/api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/api/__init__.py b/pyload/api/__init__.py
index 76cba0d50..223b48b0a 100644
--- a/pyload/api/__init__.py
+++ b/pyload/api/__init__.py
@@ -138,7 +138,7 @@ class Api(Iface):
:param value: new config value
:param section: 'plugin' or 'core
"""
- self.core.addonManager.dispatchEvent("configChanged", category, option, value, section)
+ self.core.addonManager.dispatchEvent("config-changed", category, option, value, section)
if section == "core":
self.core.config[category][option] = value
if option in ("limit_speed", "max_speed"): # not so nice to update the limit