Hopefully fixing the random login failure issue
[gc-dialer] / src / gv_backend.py
index 1561b60..8aa3d89 100644 (file)
@@ -152,6 +152,8 @@ class GVDialer(object):
                Attempt to login to GoogleVoice
                @returns Whether login was successful or not
                """
+               self.logout()
+
                try:
                        tokenPage = self._browser.download(self._tokenURL)
                except urllib2.URLError, e: