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/RehostTo.py | |
| parent | Account rewritten (diff) | |
| download | pyload-a95c217627a1cb651b24e69f20640df40797aff9.tar.xz | |
Account rewritten (2)
Diffstat (limited to 'module/plugins/accounts/RehostTo.py')
| -rw-r--r-- | module/plugins/accounts/RehostTo.py | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/accounts/RehostTo.py b/module/plugins/accounts/RehostTo.py index 1bfd79088..36e5e33eb 100644 --- a/module/plugins/accounts/RehostTo.py +++ b/module/plugins/accounts/RehostTo.py @@ -21,8 +21,9 @@ class RehostTo(Account):          session     = ""          html = self.load("https://rehost.to/api.php", -                        get={'cmd' : "login", 'user': user, -                             'pass': self.get_data(user)['password']}) +                        get={'cmd' : "login", +                             'user': user, +                             'pass': password})          try:              session = html.split(",")[1].split("=")[1] @@ -54,4 +55,4 @@ class RehostTo(Account):          if "ERROR" in html:              self.log_debug(html) -            self.fail() +            self.login_fail()  | 
