diff options
author | 2015-07-25 04:59:27 +0200 | |
---|---|---|
committer | 2015-07-25 04:59:27 +0200 | |
commit | 8f17f875f6e28f73ddb10da59c6464bd04922222 (patch) | |
tree | 29631cd1f81a40283c71dfdd005b9d24370d5d7f /module/plugins/hoster/BasePlugin.py | |
parent | Fix typo (diff) | |
download | pyload-8f17f875f6e28f73ddb10da59c6464bd04922222.tar.xz |
Account rewritten
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index dd7490365..c8fb1f3db 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -67,12 +67,12 @@ class BasePlugin(Hoster): self.log_debug("Auth required", "Received HTTP status code: %d" % e.code) account = self.pyload.accountManager.getAccountPlugin('Http') - servers = [x['login'] for x in account.get_all_accounts()] + servers = [x['login'] for x in account.getAllAccounts()] #@TODO: Recheck in 0.4.10 server = urlparse.urlparse(pyfile.url).netloc if server in servers: self.log_debug("Logging on to %s" % server) - self.req.addAuth(account.get_account_data(server)['password']) + self.req.addAuth(account.get_data(server)['password']) else: pwd = self.get_password() if ':' in pwd: |