diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-04 20:26:13 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-04 20:26:13 +0100 |
commit | 7979d0833573a107baae8c45330b8b5874630a76 (patch) | |
tree | eaa2c71065c33067de56bdd8763e9ef3d690263f /module/plugins/hoster/RapideoPl.py | |
parent | [PremiumTo] CHECK_TRAFFIC (diff) | |
download | pyload-7979d0833573a107baae8c45330b8b5874630a76.tar.xz |
Spare code improvements
Diffstat (limited to 'module/plugins/hoster/RapideoPl.py')
-rw-r--r-- | module/plugins/hoster/RapideoPl.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapideoPl.py b/module/plugins/hoster/RapideoPl.py index 9fd20e69e..7260ebbe3 100644 --- a/module/plugins/hoster/RapideoPl.py +++ b/module/plugins/hoster/RapideoPl.py @@ -41,8 +41,9 @@ class RapideoPl(SimpleHoster): if not self.account: self.fail(_("Please enter your %s account or deactivate this plugin") % "Rapideo.pl") else: - self._usr = self.account.getAccountData(self.user).get('usr') - self._pwd = self.account.getAccountData(self.user).get('pwd') + data = self.account.getAccountData(self.user) + self._usr = data['usr'] + self._pwd = data['pwd'] def runFileQuery(self, url, mode=None): query = self._api_query.copy() |