Added pocket in the services tab for connection

This commit is contained in:
2015-06-21 21:20:53 -05:00
parent c929b965fe
commit cfccebc1bb
6 changed files with 82 additions and 6 deletions

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
import BaseHTTPServer, application
logged = False
class handler(BaseHTTPServer.BaseHTTPRequestHandler):
def do_GET(self):
global logged
self.send_response(200)
self.send_header("Content-type", "text/html")
self.end_headers()
logged = True
self.wfile.write("You have successfully logged into Pocket with" + application.name + ". "
"You can close this window now.")