diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-07-08 20:10:53 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-07-08 20:10:53 +0200 |
commit | fa0db462b06e2d6b64b3b07ed2d7d6c31de22448 (patch) | |
tree | 2d4c747fdd8b272c8344863a35cdb8ccf5dc2f98 /module/plugins/accounts | |
parent | rapideo.pl files added (diff) | |
download | pyload-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.py | 6 |
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): |