From 9d8d8db40662aeeb8ebbc5e6934d39f84574dd80 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 14 Nov 2011 19:53:55 +0100 Subject: improved plugin loader, import hook to always use newest plugin versions --- module/plugins/AccountManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/AccountManager.py') 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: -- cgit v1.2.3