From 4323507752c54c03cf109ee4c5b74d11bae753dd Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 4 Aug 2015 23:57:23 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1707 --- module/plugins/internal/Hoster.py | 4 ++-- module/plugins/internal/SimpleHoster.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'module') diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index 87ee2188c..a0cdb1e2e 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -43,7 +43,7 @@ def create_getInfo(klass): class Hoster(Plugin): __name__ = "Hoster" __type__ = "hoster" - __version__ = "0.18" + __version__ = "0.19" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -332,7 +332,7 @@ class Hoster(Plugin): if self.premium: self.retry_free = True else: - self.fail(reason, _("Download was already free")) + self.fail("%s | %s" % (reason, _("Download was already free"))) raise Retry(encode(reason)) #@TODO: Remove `encode` in 0.4.10 diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 91d5fe4b3..9c310ca27 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -23,7 +23,7 @@ statusMap = dict((v, k) for k, v in _statusMap.items()) class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "1.79" + __version__ = "1.80" __status__ = "testing" __pattern__ = r'^unmatchable$' -- cgit v1.2.3