From 3f02a0f4222b64b101d751caf09b8c9f832a5b48 Mon Sep 17 00:00:00 2001 From: Bill Dengler Date: Sun, 19 Apr 2015 19:41:24 -0400 Subject: [PATCH] More generalization. --- src/twitter/authorisationHandler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/twitter/authorisationHandler.py b/src/twitter/authorisationHandler.py index 45f4fe4d..7981f872 100644 --- a/src/twitter/authorisationHandler.py +++ b/src/twitter/authorisationHandler.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- import BaseHTTPServer +import application from urlparse import urlparse, parse_qs logged = False @@ -16,5 +17,5 @@ class handler(BaseHTTPServer.BaseHTTPRequestHandler): params = parse_qs(urlparse(self.path).query) global verifier 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.") \ No newline at end of file