diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-04-09 03:47:54 +0200 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-04-09 03:47:54 +0200 |
commit | 8560ff226c2fbc0ee238b6a58077927a862f48a1 (patch) | |
tree | c53a508c1e9f4675b541e42082204869bc0b7ce4 /module | |
parent | [MultiHome] version up (diff) | |
download | pyload-8560ff226c2fbc0ee238b6a58077927a862f48a1.tar.xz |
[Account] Don't grab info if account is not valid
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Account.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 84f6ead1e..7ebb2111d 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -12,7 +12,7 @@ from module.plugins.internal.misc import Periodical, compare_time, decode, isite class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.72" + __version__ = "0.73" __status__ = "stable" __description__ = """Base account plugin""" @@ -203,7 +203,7 @@ class Account(Plugin): refresh = False self.reset() - if refresh: + if refresh and self.info['login']['valid']: self.log_info(_("Grabbing account info for user `%s`...") % self.user) self.info = self._grab_info() |