More generalization.

This commit is contained in:
Bill Dengler 2015-04-19 19:41:24 -04:00
parent 7dd383b15e
commit 3f02a0f422

View File

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import BaseHTTPServer import BaseHTTPServer
import application
from urlparse import urlparse, parse_qs from urlparse import urlparse, parse_qs
logged = False logged = False
@ -16,5 +17,5 @@ class handler(BaseHTTPServer.BaseHTTPRequestHandler):
params = parse_qs(urlparse(self.path).query) params = parse_qs(urlparse(self.path).query)
global verifier global verifier
verifier = params.get('oauth_verifier', [None])[0] verifier = params.get('oauth_verifier', [None])[0]
self.wfile.write("You have successfully logged in to Twitter with TW Blue. " self.wfile.write("You have successfully logged into Twitter with" + application.name + ". "
"You can close this window now.") "You can close this window now.")