diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 18:11:31 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 18:11:31 +0100 |
commit | 6b20f5f6c063e4e6c94d719b607ad5a028b8beee (patch) | |
tree | a8c3dfa9962aa819507870553700a35b7dcc4c74 /module/AddonManager.py | |
parent | Remove '/' from filename to avoid filepath exception (diff) | |
download | pyload-6b20f5f6c063e4e6c94d719b607ad5a028b8beee.tar.xz |
new configManager for multi user configs
Diffstat (limited to 'module/AddonManager.py')
-rw-r--r-- | module/AddonManager.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/module/AddonManager.py b/module/AddonManager.py index 4283b4652..ad6daaf83 100644 --- a/module/AddonManager.py +++ b/module/AddonManager.py @@ -45,9 +45,6 @@ class AddonManager: self.lock = RLock() self.createIndex() - #registering callback for config event - self.config.changeCB = MethodType(self.dispatchEvent, "configChanged", basestring) - # manage addons an config change self.addEvent("configChanged", self.manageAddons) @@ -64,8 +61,7 @@ class AddonManager: return func(*args) except Exception, e: addon.logError(_("Error when executing %s" % f), e) - if self.core.debug: - print_exc() + self.core.print_exc() def addRPC(self, plugin, func, doc): doc = doc.strip() if doc else "" @@ -114,8 +110,7 @@ class AddonManager: except: self.log.warning(_("Failed activating %(name)s") % {"name": pluginname}) - if self.core.debug: - print_exc() + self.core.print_exc() self.log.info(_("Activated addons: %s") % ", ".join(sorted(active))) self.log.info(_("Deactivate addons: %s") % ", ".join(sorted(deactive))) |