summaryrefslogtreecommitdiffstats
path: root/module/plugins/AccountManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-14 19:53:55 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-14 19:53:55 +0100
commit9d8d8db40662aeeb8ebbc5e6934d39f84574dd80 (patch)
treecff8ab2e9c20cd8a4b27b42b704c75377d343fd6 /module/plugins/AccountManager.py
parentrehost,to timeout fix (diff)
downloadpyload-9d8d8db40662aeeb8ebbc5e6934d39f84574dd80.tar.xz
improved plugin loader, import hook to always use newest plugin versions
Diffstat (limited to 'module/plugins/AccountManager.py')
-rw-r--r--module/plugins/AccountManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/AccountManager.py b/module/plugins/AccountManager.py
index 96090ef38..7e30f4817 100644
--- a/module/plugins/AccountManager.py
+++ b/module/plugins/AccountManager.py
@@ -51,7 +51,7 @@ class AccountManager():
"""get account instance for plugin or None if anonymous"""
if plugin in self.accounts:
if plugin not in self.plugins:
- self.plugins[plugin] = self.core.pluginManager.getAccountPlugin(plugin)(self, self.accounts[plugin])
+ self.plugins[plugin] = self.core.pluginManager.loadClass("accounts", plugin)(self, self.accounts[plugin])
return self.plugins[plugin]
else: