diff options
author | 2015-07-25 09:34:18 +0200 | |
---|---|---|
committer | 2015-07-25 09:34:18 +0200 | |
commit | a95c217627a1cb651b24e69f20640df40797aff9 (patch) | |
tree | 63fcbffd55b704b461446c1724022e76373dac12 /module/plugins/accounts/FilecloudIo.py | |
parent | Account rewritten (diff) | |
download | pyload-a95c217627a1cb651b24e69f20640df40797aff9.tar.xz |
Account rewritten (2)
Diffstat (limited to 'module/plugins/accounts/FilecloudIo.py')
-rw-r--r-- | module/plugins/accounts/FilecloudIo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/FilecloudIo.py b/module/plugins/accounts/FilecloudIo.py index fb61e507c..56d84e2e4 100644 --- a/module/plugins/accounts/FilecloudIo.py +++ b/module/plugins/accounts/FilecloudIo.py @@ -20,7 +20,7 @@ class FilecloudIo(Account): #: It looks like the first API request always fails, so we retry 5 times, it should work on the second try for _i in xrange(5): rep = self.load("https://secure.filecloud.io/api-fetch_apikey.api", - post={'username': user, 'password': self.get_data(user)['password']}) + post={'username': user, 'password': password}) rep = json_loads(rep) if rep['status'] == "ok": break @@ -56,4 +56,4 @@ class FilecloudIo(Account): post=self.form_data) if "you have successfully logged in" not in html: - self.fail() + self.login_fail() |