Merge pull request #14 from Rushilwiz/development

skoolos.py
This commit is contained in:
Rushil Umaretiya 2020-06-16 14:07:59 -04:00 committed by GitHub
commit 25f73d6860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,22 +319,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")