summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar synweap15 <shamdog+github@gmail.com> 2014-07-08 20:10:53 +0200
committerGravatar synweap15 <shamdog+github@gmail.com> 2014-07-08 20:10:53 +0200
commitfa0db462b06e2d6b64b3b07ed2d7d6c31de22448 (patch)
tree2d4c747fdd8b272c8344863a35cdb8ccf5dc2f98 /module/plugins/accounts
parentrapideo.pl files added (diff)
downloadpyload-fa0db462b06e2d6b64b3b07ed2d7d6c31de22448.tar.xz
to-do & small simplification in username and password saving
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/RapideoPl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/RapideoPl.py b/module/plugins/accounts/RapideoPl.py
index f7343cf02..8abfa4989 100644
--- a/module/plugins/accounts/RapideoPl.py
+++ b/module/plugins/accounts/RapideoPl.py
@@ -48,7 +48,7 @@ class RapideoPl(Account):
try:
result = loads(self.runAuthQuery())
except:
- #todo: ret?
+ #todo: return or let it be thrown?
return
premium = False
@@ -84,8 +84,8 @@ class RapideoPl(Account):
if "errno" in response.keys():
self.wrongPassword()
- data['usr'] = user
- data['pwd'] = crypto.md5(data['password']).hexdigest()
+ data['usr'] = self._usr
+ data['pwd'] = self._pwd
def createAuthQuery(self):