diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 02:37:07 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 02:37:07 +0200 |
commit | adeda13c6ae15771183d26a616cfc6b2fbf1f048 (patch) | |
tree | b0aff5b4c31cad562a46b905955468d0391df156 /module/plugins | |
parent | Spare improvements and fixes (diff) | |
parent | Update SimpleHoster.py (diff) | |
download | pyload-adeda13c6ae15771183d26a616cfc6b2fbf1f048.tar.xz |
Merge branch 'pr/n1736_GammaC0de' into stable
Conflicts:
module/plugins/internal/SimpleHoster.py
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index a23691220..19263dd8f 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -207,12 +207,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")) |