summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-04-14 01:54:11 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-04-14 01:54:11 +0200
commit856e3e90b7863807c040faadd313adcbe45fc013 (patch)
tree2252d6c467a852447b67014ac26362505c1f2074
parentMerge pull request #1 from pyload/stable (diff)
downloadpyload-856e3e90b7863807c040faadd313adcbe45fc013.tar.xz
Update SimpleHoster.py
-rw-r--r--module/plugins/internal/SimpleHoster.py5
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])