summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-10-04 20:27:44 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-10-04 20:27:44 +0200
commit52d033fb19add2c1060dfa851013357c3eb24752 (patch)
treef936478e45ecc20a6a08852f7efb3323cd090c92
parentYouTube: fixed #287 (diff)
parentFix (diff)
downloadpyload-52d033fb19add2c1060dfa851013357c3eb24752.tar.xz
Merge pull request #295 from vuolter/s/hoster_cosmetics_fix
-rw-r--r--module/plugins/hoster/HellshareCz.py2
-rw-r--r--module/plugins/hoster/IfolderRu.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/HellshareCz.py b/module/plugins/hoster/HellshareCz.py
index 8e39883e8..5fdcca7ae 100644
--- a/module/plugins/hoster/HellshareCz.py
+++ b/module/plugins/hoster/HellshareCz.py
@@ -34,7 +34,7 @@ class HellshareCz(SimpleHoster):
SHOW_WINDOW_PATTERN = r'<a href="([^?]+/(\d+)/\?do=(fileDownloadButton|relatedFileDownloadButton-\2)-showDownloadWindow)"'
def setup(self):
- self.resumeDownload = self.multiDL = self.account
+ self.resumeDownload = self.multiDL = True if self.account else False
self.chunkLimit = 1
def process(self, pyfile):
diff --git a/module/plugins/hoster/IfolderRu.py b/module/plugins/hoster/IfolderRu.py
index 78f7e7cd5..14e568f8f 100644
--- a/module/plugins/hoster/IfolderRu.py
+++ b/module/plugins/hoster/IfolderRu.py
@@ -41,7 +41,7 @@ class IfolderRu(SimpleHoster):
WRONG_CAPTCHA_PATTERN = ur'<font color=Red>неверный код,<br>введите еще раз</font><br>'
def setup(self):
- self.resumeDownload = self.multiDL = self.account
+ self.resumeDownload = self.multiDL = True if self.account else False
self.chunkLimit = 1
def process(self, pyfile):