diff options
author | 2015-10-02 12:30:04 +0200 | |
---|---|---|
committer | 2015-10-02 12:30:04 +0200 | |
commit | 4afeed04d2913b7635c5cd3917c90b928d53b151 (patch) | |
tree | 0fa16b60f9f7c9c73581a7ee3ab963ed24b97255 /module/plugins/internal/Hoster.py | |
parent | Merge pull request #1933 from jansohn/stable (diff) | |
download | pyload-4afeed04d2913b7635c5cd3917c90b928d53b151.tar.xz |
Fix https://github.com/pyload/pyload/issues/1932
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r-- | module/plugins/internal/Hoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index 26da436a5..86b684414 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -13,7 +13,7 @@ from module.utils import fs_decode, fs_encode, save_join as fs_join, save_path a class Hoster(Base): __name__ = "Hoster" __type__ = "hoster" - __version__ = "0.34" + __version__ = "0.35" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -87,13 +87,13 @@ class Hoster(Base): except Fail, e: #@TODO: Move to PluginThread in 0.4.10 if self.get_config('fallback_premium', True) and self.premium: self.log_warning(_("Premium download failed"), e) - self.restart() + self.restart(premium=False) else: raise Fail(e) - def restart(self, msg="", premium=False): + def restart(self, msg="", premium=True): if not msg: msg = _("Simple restart") if premium else _("Fallback to free download") |