twitter/authorisationHandler: call self.finish() after completing the http request in the local server

This commit is contained in:
Jose Manuel Delicado 2016-12-29 19:38:18 +01:00
parent 9d0558468a
commit 020148ac0a

View File

@ -18,3 +18,4 @@ class handler(BaseHTTPServer.BaseHTTPRequestHandler):
global verifier global verifier
verifier = params.get('oauth_verifier', [None])[0] 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.wfile.write(_(u"You have successfully logged into Twitter with {0}. You can close this window now.").format(application.name))
self.finish()