projects
/
theonering
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Speeding up login through cookies
[theonering]
/
src
/
gvoice
/
backend.py
diff --git
a/src/gvoice/backend.py
b/src/gvoice/backend.py
index
72eda38
..
0661d0c
100755
(executable)
--- a/
src/gvoice/backend.py
+++ b/
src/gvoice/backend.py
@@
-304,6
+304,11
@@
class GVoiceBackend(object):
self._lastAuthed = time.time()
return True
+ def shutdown(self):
+ self._browser.save_cookies()
+ self._token = None
+ self._lastAuthed = 0.0
+
def logout(self):
self._browser.clear_cookies()
self._browser.save_cookies()