From a33d8062833d1bfec4777145cc484c1d6b9e141f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 Aug 2010 17:07:33 +0200 Subject: some automatic fixes --- module/AccountManager.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'module/AccountManager.py') diff --git a/module/AccountManager.py b/module/AccountManager.py index fc122e760..c6c14daf7 100644 --- a/module/AccountManager.py +++ b/module/AccountManager.py @@ -29,28 +29,28 @@ class AccountManager(): #---------------------------------------------------------------------- def __init__(self, core): """Constructor""" - + self.core = core - + self.accounts = {} # key = ( plugin ) self.plugins = {} - + self.initAccountPlugins() self.loadAccounts() - + self.saveAccounts() # save to add categories to conf - + #---------------------------------------------------------------------- def getAccountPlugin(self, plugin): """get account instance for plugin or None if anonymous""" if self.accounts.has_key(plugin): if not self.plugins.has_key(plugin): self.plugins[plugin] = self.core.pluginManager.getAccountPlugin(plugin)(self, self.accounts[plugin]) - + return self.plugins[plugin] else: return None - + def getAccountPlugins(self): """ get all account instances""" -- cgit v1.2.3