summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RyushareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/RyushareCom.py')
-rw-r--r--module/plugins/accounts/RyushareCom.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/accounts/RyushareCom.py b/module/plugins/accounts/RyushareCom.py
index 6a15c4c82..7fb373ca7 100644
--- a/module/plugins/accounts/RyushareCom.py
+++ b/module/plugins/accounts/RyushareCom.py
@@ -5,17 +5,19 @@ from module.plugins.internal.XFSPAccount import XFSPAccount
class RyushareCom(XFSPAccount):
__name__ = "RyushareCom"
- __version__ = "0.03"
__type__ = "account"
+ __version__ = "0.03"
+
__description__ = """Ryushare.com account plugin"""
__author_name__ = ("zoidberg", "trance4us")
__author_mail__ = ("zoidberg@mujmail.cz", "")
MAIN_PAGE = "http://ryushare.com/"
+
def login(self, user, data, req):
req.lastURL = "http://ryushare.com/login.python"
html = req.load("http://ryushare.com/login.python",
- post={"login": user, "password": data["password"], "op": "login"})
+ post={"login": user, "password": data['password'], "op": "login"})
if 'Incorrect Login or Password' in html or '>Error<' in html:
self.wrongPassword()