summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/accounts/RehostTo.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-23 20:22:42 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-23 20:40:59 +0200
commit4a81799278ae003bfbd7897f7bcd1ef46642d953 (patch)
tree59e580fc761103cfacd9190bc9c55a5a01367f47 /pyload/plugins/accounts/RehostTo.py
parentlittle cleanup, added some tests (diff)
downloadpyload-4a81799278ae003bfbd7897f7bcd1ef46642d953.tar.xz
Fixed PEP 8 violations in Accounts
(cherry picked from commit f5535809bebc6cc343475704832c8fd8674d2d06) Conflicts: pyload/plugins/accounts/AlldebridCom.py pyload/plugins/accounts/Premium4Me.py pyload/plugins/accounts/PremiumizeMe.py pyload/plugins/accounts/RealdebridCom.py
Diffstat (limited to 'pyload/plugins/accounts/RehostTo.py')
-rw-r--r--pyload/plugins/accounts/RehostTo.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pyload/plugins/accounts/RehostTo.py b/pyload/plugins/accounts/RehostTo.py
index e1cb2668f..58c91801b 100644
--- a/pyload/plugins/accounts/RehostTo.py
+++ b/pyload/plugins/accounts/RehostTo.py
@@ -9,9 +9,7 @@ class RehostTo(Account):
__author_name__ = ("RaNaN")
__author_mail__ = ("RaNaN@pyload.org")
-
def loadAccountInfo(self, user, req):
-
data = self.getAccountData(user)
page = req.load("http://rehost.to/api.php?cmd=login&user=%s&pass=%s" % (user, data["password"]))
data = [x.split("=") for x in page.split(",")]
@@ -33,5 +31,3 @@ class RehostTo(Account):
if "Login failed." in page:
self.wrongPassword()
-
-