summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-13 12:17:56 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-13 12:17:56 +0200
commit30777e823f91f62c8e2a63a312bfa949266a02ac (patch)
treebd2f435bd23217e6e18c05c58ee7fe9f4979dffa /module/plugins
parentfixes for windows (diff)
downloadpyload-30777e823f91f62c8e2a63a312bfa949266a02ac.tar.xz
little fixes
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/RealdebridCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index d003b4e2b..65a28669a 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -29,11 +29,10 @@ class RealdebridCom(Hoster):
def init(self):
self.tries = 0
-
- def setup(self):
self.chunkLimit = 3
self.resumeDownload = True
+
def process(self, pyfile):
if not self.account:
self.log.error(_("Please enter your Real-debrid account or deactivate this plugin"))
@@ -77,7 +76,7 @@ class RealdebridCom(Hoster):
self.download(new_url, disposition=True)
check = self.checkDownload(
- {"error": "<html><head><title>An error occured while processing your request</title>"})
+ {"error": "<title>An error occured while processing your request</title>"})
if check == "error":
#usual this download can safely be retried
@@ -86,5 +85,5 @@ class RealdebridCom(Hoster):
sleep(1)
self.retry()
else:
- self.fail("Error occured.")
+ self.fail("An error occured while generating link.")