diff options
author | Stefano <l.stickell@yahoo.it> | 2013-10-02 15:57:29 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-10-02 16:08:43 +0200 |
commit | f876908b6a1946845c1c7dff591d4d9f64643f82 (patch) | |
tree | e1b5ba8ba107225ba2e84f2ced7015fb2902ee6d /module/plugins/internal | |
parent | Merge pull request #285 from vuolter/s/hoster/OneFichierCom (diff) | |
download | pyload-f876908b6a1946845c1c7dff591d4d9f64643f82.tar.xz |
Plugins: cosmetics See #286
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 69ed57ff8..67505f41a 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -173,8 +173,9 @@ class SimpleHoster(Hoster): self.file_info = {} def setup(self): - self.resumeDownload = self.multiDL = True if self.premium else False - if isinstance(self.SH_COOKIES, list): set_cookies(self.req.cj, self.SH_COOKIES) + self.resumeDownload = self.multiDL = self.premium + if isinstance(self.SH_COOKIES, list): + set_cookies(self.req.cj, self.SH_COOKIES) def process(self, pyfile): pyfile.url = replace_patterns(pyfile.url, self.FILE_URL_REPLACEMENTS) |