diff options
author | Sahil Shekhawat <sahilshekhawat01@gmail.com> | 2015-01-05 19:31:35 +0100 |
---|---|---|
committer | Sahil Shekhawat <sahilshekhawat01@gmail.com> | 2015-01-05 19:31:35 +0100 |
commit | 7b8593899e3d37846fb3ed94d47d9daba13a02d7 (patch) | |
tree | 5427650c3dd14b0c2878a1081be3709458bf48db /module/plugins/hoster/RapideoPl.py | |
parent | Created plugin for Nitroflare.com (diff) | |
parent | Spare code improvements (diff) | |
download | pyload-7b8593899e3d37846fb3ed94d47d9daba13a02d7.tar.xz |
Merge branch 'stable' of https://github.com/pyload/pyload into stable
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() |