diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-28 11:53:37 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-28 11:53:37 +0100 |
commit | 98ae3d727b60d3f529b39a6c275e31732231bd91 (patch) | |
tree | 4caefcf078c3df8b5586ad6867bd3d8d5f2b1c47 /module | |
parent | [MegaCoNz] Private file support (diff) | |
download | pyload-98ae3d727b60d3f529b39a6c275e31732231bd91.tar.xz |
[SimpleHoster] Fix https://github.com/pyload/pyload/issues/983
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 5c6f8c720..6075e3f67 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -181,7 +181,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "0.83" + __version__ = "0.84" __pattern__ = r'^unmatchable$' @@ -444,7 +444,9 @@ class SimpleHoster(Hoster): check = self.checkDownload(rules) if check: #@TODO: Move to hoster in 0.4.10 - errmsg = check.strip().capitalize() + (" | " + self.lastCheck.strip() if self.lastCheck else "") + errmsg = check.strip().capitalize() + if self.lastCheck: + errmsg += " | " + self.lastCheck.group(0).strip() self.retry(10, 60, errmsg) |