Compare commits

..

2 Commits

Author SHA1 Message Date
0ed744dff8 More "error handling" 2025-02-12 21:26:25 +01:00
03a1fd1b33 Stupid packaging mistake 2025-02-12 21:26:15 +01:00
2 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as f:
setup(
name="temmies",
version="1.2.121",
version="1.2.124",
packages=find_packages(),
description="A wrapper for the Themis website",
long_description=l_description,
@ -25,7 +25,8 @@ setup(
"requests",
"lxml",
"beautifulsoup4",
"keyring"
"keyring",
"selenium",
],
python_requires=">=3.9",
)

View File

@ -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
from selenium.common.exceptions import NoSuchElementException, StaleElementReferenceException
from json import dumps
from .year import Year
import getpass
@ -114,6 +114,8 @@ class Themis:
except NoSuchElementException:
pass
except StaleElementReferenceException:
pass
# destroy the password from memory (security)
self.password = "I-HAVE-BEEN-REMOVED"