From c2d81279fe76b65496c8d2ed2c9adcd909917477 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Wed, 6 Jun 2018 08:23:07 -0500 Subject: [PATCH] Removed unneeded code --- src/pocket_utils/__init__.py | 1 - src/pocket_utils/authorisationHandler.py | 15 --------------- 2 files changed, 16 deletions(-) delete mode 100644 src/pocket_utils/__init__.py delete mode 100644 src/pocket_utils/authorisationHandler.py diff --git a/src/pocket_utils/__init__.py b/src/pocket_utils/__init__.py deleted file mode 100644 index 40a96afc..00000000 --- a/src/pocket_utils/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# -*- coding: utf-8 -*- diff --git a/src/pocket_utils/authorisationHandler.py b/src/pocket_utils/authorisationHandler.py deleted file mode 100644 index 1dd25984..00000000 --- a/src/pocket_utils/authorisationHandler.py +++ /dev/null @@ -1,15 +0,0 @@ -# -*- 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.") \ No newline at end of file