From 080643e89af62013d70bb574cd54cf4876628515 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 11 Aug 2013 20:36:10 +0200 Subject: improved account list --- pyload/plugins/addons/MultiHoster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugins') 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) -- cgit v1.2.3