From 020148ac0a2b9e04376a46643bbdcd70b7ac0346 Mon Sep 17 00:00:00 2001 From: Jose Manuel Delicado Date: Thu, 29 Dec 2016 19:38:18 +0100 Subject: [PATCH] twitter/authorisationHandler: call self.finish() after completing the http request in the local server --- src/twitter/authorisationHandler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/twitter/authorisationHandler.py b/src/twitter/authorisationHandler.py index 0d4110f1..e67b1e23 100644 --- a/src/twitter/authorisationHandler.py +++ b/src/twitter/authorisationHandler.py @@ -18,3 +18,4 @@ class handler(BaseHTTPServer.BaseHTTPRequestHandler): global verifier verifier = params.get('oauth_verifier', [None])[0] self.wfile.write(_(u"You have successfully logged into Twitter with {0}. You can close this window now.").format(application.name)) + self.finish()