summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapideoPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RapideoPl.py')
-rw-r--r--module/plugins/hoster/RapideoPl.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/module/plugins/hoster/RapideoPl.py b/module/plugins/hoster/RapideoPl.py
index e1a0d278f..a43440e61 100644
--- a/module/plugins/hoster/RapideoPl.py
+++ b/module/plugins/hoster/RapideoPl.py
@@ -7,7 +7,7 @@ from module.plugins.internal.MultiHoster import MultiHoster
class RapideoPl(MultiHoster):
__name__ = "RapideoPl"
__type__ = "hoster"
- __version__ = "0.04"
+ __version__ = "0.05"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -39,7 +39,7 @@ class RapideoPl(MultiHoster):
def prepare(self):
super(RapideoPl, self).prepare()
- data = self.account.get_data(self.user)
+ data = self.account.get_data()
self.usr = data['usr']
self.pwd = data['pwd']
@@ -84,10 +84,8 @@ class RapideoPl(MultiHoster):
self.fail(self.ERROR_CODES[parsed['errno']] % self.__name__)
else:
#: Error code isn't yet added to plugin
- self.fail(
- parsed['errstring']
- or _("Unknown error (code: %s)") % parsed['errno']
- )
+ self.fail(parsed['errstring'] or
+ _("Unknown error (code: %s)") % parsed['errno'])
if "sdownload" in parsed:
if parsed['sdownload'] == "1":