diff options
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r-- | module/plugins/Account.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py index 30561f126..9c46f5398 100644 --- a/module/plugins/Account.py +++ b/module/plugins/Account.py @@ -58,7 +58,11 @@ class Account(): print_exc() finally: if req: req.close() - + + def relogin(self): + for user, data in self.accounts.iteritems(): + self._login(user, data) + def setAccounts(self, accounts): self.accounts = accounts for user, data in self.accounts.iteritems(): |