Skip to content

Commit

Permalink
Fixed TFA
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrc committed Dec 15, 2014
1 parent 5720fea commit e1aa92b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions geeknote/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ def loadPage(self, url, uri=None, method="GET", params=""):
sk = Cookie.SimpleCookie(response.getheader("Set-Cookie", ""))
for key in sk:
self.cookies[key] = sk[key].value
# delete cookies whose content is "deleteme"
for key in self.cookies.keys():
if self.cookies[key] == "deleteme":
del self.cookies[key]

return result

Expand Down

0 comments on commit e1aa92b

Please sign in to comment.