mirror of
https://github.com/Code-For-Groningen/temmies.git
synced 2025-03-15 15:10:15 +01:00
Compare commits
No commits in common. "0ed744dff89cf85e3e04b78b4666141195daaf82" and "813519f6428a165793855cab82fc75316141f8db" have entirely different histories.
0ed744dff8
...
813519f642
5
setup.py
5
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r") as f:
|
||||
|
||||
setup(
|
||||
name="temmies",
|
||||
version="1.2.124",
|
||||
version="1.2.121",
|
||||
packages=find_packages(),
|
||||
description="A wrapper for the Themis website",
|
||||
long_description=l_description,
|
||||
@ -25,8 +25,7 @@ setup(
|
||||
"requests",
|
||||
"lxml",
|
||||
"beautifulsoup4",
|
||||
"keyring",
|
||||
"selenium",
|
||||
"keyring"
|
||||
],
|
||||
python_requires=">=3.9",
|
||||
)
|
@ -5,7 +5,7 @@ Main class for the Themis API using the new JSON endpoints.
|
||||
from requests import Session
|
||||
from selenium import webdriver
|
||||
from selenium.webdriver.common.by import By
|
||||
from selenium.common.exceptions import NoSuchElementException, StaleElementReferenceException
|
||||
from selenium.common.exceptions import NoSuchElementException
|
||||
from json import dumps
|
||||
from .year import Year
|
||||
import getpass
|
||||
@ -113,9 +113,7 @@ class Themis:
|
||||
|
||||
except NoSuchElementException:
|
||||
pass
|
||||
|
||||
except StaleElementReferenceException:
|
||||
pass
|
||||
|
||||
|
||||
# destroy the password from memory (security)
|
||||
self.password = "I-HAVE-BEEN-REMOVED"
|
||||
|
Loading…
x
Reference in New Issue
Block a user