From de103f77df82bf4228697671730c19c3db392605 Mon Sep 17 00:00:00 2001 From: Raffu Khondaker <2022rkhondak@tjhsst.edu> Date: Tue, 16 Jun 2020 14:06:49 -0400 Subject: [PATCH] skoolos.py --- skoolos.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/skoolos.py b/skoolos.py index 501429e..fec33d8 100644 --- a/skoolos.py +++ b/skoolos.py @@ -233,22 +233,6 @@ def authenticate(): path = os.path.join(os.getcwd(), 'chromedriver-mac') browser = webdriver.Chrome(path) - # web_dir = os.path.join(os.getcwd(), 'CLI', 'oauth') - # print(web_dir) - # os.chdir(web_dir) - # if os.path.exists("index.html"): - # os.remove("index.html") - - # template = open("template.html", "r") - # index = open("index.html", "w") - # for line in template: - # index.write(line.replace('AUTH_URL', authorization_url)) - # template.close() - # index.close() - - # server = Thread(target=create_server) - # server.daemon = True - # server.start() browser.get("localhost:8000/login")