diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-04-14 01:54:11 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-04-14 01:54:11 +0200 |
commit | 856e3e90b7863807c040faadd313adcbe45fc013 (patch) | |
tree | 2252d6c467a852447b67014ac26362505c1f2074 | |
parent | Merge pull request #1 from pyload/stable (diff) | |
download | pyload-856e3e90b7863807c040faadd313adcbe45fc013.tar.xz |
Update SimpleHoster.py
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 910731f95..dc4f480b9 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -623,7 +623,10 @@ class SimpleHoster(Hoster): self.tempOffline() elif status is 8: - self.fail() + if 'error' in self.info: + self.fail(self.info['error']) + else: + self.fail("Failed") finally: self.logDebug("File status: %s" % statusMap[status]) |