summaryrefslogtreecommitdiffstats
path: root/pyload/AccountManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 22:03:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 22:03:39 +0200
commit13c57b69de3825cb7755f548a417dbd993f90bfb (patch)
treeefcd23ee3d739372aad190ced846c5e9e7eff2e0 /pyload/AccountManager.py
parentimproved account list (diff)
downloadpyload-13c57b69de3825cb7755f548a417dbd993f90bfb.tar.xz
fixed account removing
Diffstat (limited to 'pyload/AccountManager.py')
-rw-r--r--pyload/AccountManager.py4
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] = []