diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 20:36:10 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 20:36:10 +0200 |
commit | 080643e89af62013d70bb574cd54cf4876628515 (patch) | |
tree | e79e3bebe9175da613c4a339fc4ac3fa172ecced /pyload/plugins | |
parent | another try to fix broken accounts (diff) | |
download | pyload-080643e89af62013d70bb574cd54cf4876628515.tar.xz |
improved account list
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/addons/MultiHoster.py | 4 |
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) |