summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-21 02:37:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-21 02:37:07 +0200
commitadeda13c6ae15771183d26a616cfc6b2fbf1f048 (patch)
treeb0aff5b4c31cad562a46b905955468d0391df156 /module/plugins
parentSpare improvements and fixes (diff)
parentUpdate SimpleHoster.py (diff)
downloadpyload-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.py3
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"))