diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-07-11 21:23:21 +0200 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-07-11 21:23:21 +0200 |
commit | 79e395f7bc1522c4901d02b3b9b106cd8236d10a (patch) | |
tree | 69f04faa0c2ee6ec753a84b9feb0c53744d7a8b3 /module | |
parent | Merge pull request #2539 from EikeKre/patch-2 (diff) | |
download | pyload-79e395f7bc1522c4901d02b3b9b106cd8236d10a.tar.xz |
[Hoster] fix #2538
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Hoster.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index bc758e98e..1730f5ae8 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -34,7 +34,7 @@ if not hasattr(__builtin__.property, "setter"): class Hoster(Base): __name__ = "Hoster" __type__ = "hoster" - __version__ = "0.57" + __version__ = "0.58" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -231,6 +231,11 @@ class Hoster(Base): newname = self.req.httpDownload(url, file, get, post, ref, cookies, chunks, resume, self.pyfile.setProgress, disposition) + + except IOError, e: + self.log_error(e.message) + self.fail("IOError %s" % e.errno) + except BadHeader, e: self.req.http.code = e.code raise |