diff options
author | 2013-08-11 22:03:39 +0200 | |
---|---|---|
committer | 2013-08-11 22:03:39 +0200 | |
commit | 13c57b69de3825cb7755f548a417dbd993f90bfb (patch) | |
tree | efcd23ee3d739372aad190ced846c5e9e7eff2e0 /pyload/AccountManager.py | |
parent | improved account list (diff) | |
download | pyload-13c57b69de3825cb7755f548a417dbd993f90bfb.tar.xz |
fixed account removing
Diffstat (limited to 'pyload/AccountManager.py')
-rw-r--r-- | pyload/AccountManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/AccountManager.py b/pyload/AccountManager.py index 7820d42f6..b9f1536d9 100644 --- a/pyload/AccountManager.py +++ b/pyload/AccountManager.py @@ -46,8 +46,8 @@ class AccountManager: klass = self.core.pluginManager.loadClass("accounts", plugin) if not klass: - self.core.log.warning(_("Unknown account plugin %s") % plugin) - return + self.core.log.warning(_("Account plugin %s not available") % plugin) + raise ValueError("Account plugin %s not available" % plugin) if plugin not in self.accounts: self.accounts[plugin] = [] |