summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 20:36:10 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 20:36:10 +0200
commit080643e89af62013d70bb574cd54cf4876628515 (patch)
treee79e3bebe9175da613c4a339fc4ac3fa172ecced /pyload/plugins
parentanother try to fix broken accounts (diff)
downloadpyload-080643e89af62013d70bb574cd54cf4876628515.tar.xz
improved account list
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/addons/MultiHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/addons/MultiHoster.py b/pyload/plugins/addons/MultiHoster.py
index 446dfe922..21529eb1a 100644
--- a/pyload/plugins/addons/MultiHoster.py
+++ b/pyload/plugins/addons/MultiHoster.py
@@ -81,9 +81,9 @@ class MultiHoster(Addon):
self.addHoster(account)
@AddEventListener("account:updated")
- def refreshAccount(self, plugin, loginname):
+ def refreshAccount(self, acc):
- account = self.core.accountManager.getAccount(plugin, loginname)
+ account = self.core.accountManager.getAccount(acc.plugin, acc.loginname)
if isinstance(account, MultiHosterAccount) and account.isUsable():
self.addHoster(account)