diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-08-08 20:41:32 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-08-08 20:41:32 +0200 |
commit | 4cdc03879a8ac9b304cd4e59498ff6646fecefcb (patch) | |
tree | ef6127ed18a80408a515e7fa6d52d31c8b97edd2 /module | |
parent | Fix https://github.com/pyload/pyload/issues/1707 (diff) | |
download | pyload-4cdc03879a8ac9b304cd4e59498ff6646fecefcb.tar.xz |
Update SimpleHoster.py
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 9c310ca27..544e71d1e 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.80" + __version__ = "1.81" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -209,12 +209,11 @@ class SimpleHoster(Hoster): self.direct_dl = False self.leech_dl = False - if not self.get_config('use_premium', True): + if not self.get_config('use_premium', True) and self.premium: self.restart(nopremium=True) if self.LOGIN_PREMIUM and not self.premium: self.fail(_("Required premium account not found")) - self.LOGIN_ACCOUNT = True if self.LOGIN_ACCOUNT and not self.account: self.fail(_("Required account not found")) |