From 6b3883c7bfbd87b50344155ddfce3bbd4a22d8ae Mon Sep 17 00:00:00 2001 From: mkaay Date: Tue, 1 Feb 2011 14:44:20 +0100 Subject: fixed #222 --- module/plugins/Account.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'module/plugins/Account.py') 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(): -- cgit v1.2.3