summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/Premium4Me.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/Premium4Me.py')
-rw-r--r--module/plugins/accounts/Premium4Me.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/accounts/Premium4Me.py b/module/plugins/accounts/Premium4Me.py
index fbca3ce84..467c5943e 100644
--- a/module/plugins/accounts/Premium4Me.py
+++ b/module/plugins/accounts/Premium4Me.py
@@ -1,5 +1,6 @@
from module.plugins.Account import Account
+
class Premium4Me(Account):
__name__ = "Premium4Me"
__version__ = "0.03"
@@ -17,7 +18,8 @@ class Premium4Me(Account):
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() \ No newline at end of file
+ self.wrongPassword()