summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/accounts/Premium4Me.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/accounts/Premium4Me.py')
-rw-r--r--pyload/plugins/accounts/Premium4Me.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugins/accounts/Premium4Me.py b/pyload/plugins/accounts/Premium4Me.py
index 3b0d24488..7f49cca30 100644
--- a/pyload/plugins/accounts/Premium4Me.py
+++ b/pyload/plugins/accounts/Premium4Me.py
@@ -1,4 +1,3 @@
-
from pyload.plugins.MultiHoster import MultiHoster
class Premium4Me(MultiHoster):
@@ -18,11 +17,12 @@ class Premium4Me(MultiHoster):
return account_info
def login(self, user, data, req):
- self.authcode = req.load("http://premium.to/api/getauthcode.php?username=%s&password=%s" % (user, data["password"])).strip()
-
+ self.authcode = req.load("http://premium.to/api/getauthcode.php?username=%s&password=%s" % (
+ user, data["password"])).strip()
+
if "wrong username" in self.authcode:
self.wrongPassword()
def loadHosterList(self, req):
page = req.load("http://premium.to/api/hosters.php?authcode=%s" % self.authcode)
- return [x.strip() for x in page.replace("\"", "").split(";")] \ No newline at end of file
+ return [x.strip() for x in page.replace("\"", "").split(";")]