diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 21:15:57 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 21:15:57 +0100 |
commit | f3e18e3fef2b0a6d7db26ddc7c9f025cdae7ef23 (patch) | |
tree | b8ad2956aa965fff407fb3ceb20d7decefb67d3b /module/AddonManager.py | |
parent | Happy new year commit (diff) | |
download | pyload-f3e18e3fef2b0a6d7db26ddc7c9f025cdae7ef23.tar.xz |
New naming: pyLoadCore -> pyload
pyLoadCli -> pyload-cli
Diffstat (limited to 'module/AddonManager.py')
-rw-r--r-- | module/AddonManager.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/AddonManager.py b/module/AddonManager.py index ccb617dc6..7d3852274 100644 --- a/module/AddonManager.py +++ b/module/AddonManager.py @@ -43,7 +43,7 @@ class AddonManager: self.lock = RLock() self.createIndex() - # manage addons an config change + # manage addons on config change self.addEvent("configChanged", self.manageAddons) @lock @@ -224,8 +224,6 @@ class AddonManager: def addEventListener(self, plugin, func, event): """ add the event to the list """ - - if plugin not in self.events: self.events[plugin] = [] self.events[plugin].append((func, event)) |