Renew automatically access token if it has expired

This commit is contained in:
2016-02-14 18:46:23 -06:00
parent 16c8750aa4
commit d018c440f6
4 changed files with 11 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ class Controller(object):
def login(self):
self.window.change_status(_(u"Logging in VK"))
self.session.authorise()
self.session.login()
self.window.change_status(_(u"Ready"))
for i in self.buffers:
if hasattr(i, "get_items"):