diff options
-rw-r--r-- | module/plugins/internal/Hoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index f610023f4..b853f2815 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -192,10 +192,10 @@ class Hoster(Plugin): self.account = self.pyload.accountManager.getAccountPlugin(self.__name__) if self.account: - if not self.account.user: #@TODO: Move to `Account` in 0.4.10 + if not hasattr(self.account, 'user'): #@TODO: Move to `Account` in 0.4.10 self.account.user = self.account.select()[0] - if not self.account.logged: + if not hasattr(self.account, 'logged'): self.account = False |