summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
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-07 11:28:30 +0200
commitef91ac1ec549ca4185ced203e1564676dcc1aea7 (patch)
tree189cd8379b5d151e5142842012d97849ed117bb0 /pyload/plugins
parentYouTube: fixed #287 (diff)
downloadpyload-ef91ac1ec549ca4185ced203e1564676dcc1aea7.tar.xz
Merge pull request #295 from vuolter/s/hoster_cosmetics_fix
Fix assignation issue due f876908b6a1946845c1c7dff591d4d9f64643f82 (cherry picked from commit 52d033fb19add2c1060dfa851013357c3eb24752)
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/hoster/HellshareCz.py2
-rw-r--r--pyload/plugins/hoster/IfolderRu.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/HellshareCz.py b/pyload/plugins/hoster/HellshareCz.py
index 8e39883e8..5fdcca7ae 100644
--- a/pyload/plugins/hoster/HellshareCz.py
+++ b/pyload/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/pyload/plugins/hoster/IfolderRu.py b/pyload/plugins/hoster/IfolderRu.py
index 78f7e7cd5..14e568f8f 100644
--- a/pyload/plugins/hoster/IfolderRu.py
+++ b/pyload/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):