summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-10-04 00:48:13 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-10-04 00:48:13 +0200
commitfa582864bdaf11580e5a2ad21ee2c4053ee53249 (patch)
tree2ce59f766d12f2d836228c8a1056408b867ae018 /module
parentMerge pull request #289 from vuolter/s/hoster/MegaNz (diff)
downloadpyload-fa582864bdaf11580e5a2ad21ee2c4053ee53249.tar.xz
Fix
Diffstat (limited to 'module')
-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):