diff --git a/LICENSE b/LICENSE index 13fa307..ccccbe3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Copyright 2019-2024 Garmelon, I-Al-Istannen, danstooamerican, pavelzw, TheChristophe, Scriptim, thelukasprobst, Toorero, - Mr-Pine, p-fruck + Mr-Pine, p-fruck, PinieP Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/PFERD/crawl/ilias/kit_ilias_web_crawler.py b/PFERD/crawl/ilias/kit_ilias_web_crawler.py index 4815c74..a7df55b 100644 --- a/PFERD/crawl/ilias/kit_ilias_web_crawler.py +++ b/PFERD/crawl/ilias/kit_ilias_web_crawler.py @@ -1,11 +1,7 @@ -from typing import Any, Dict, Optional, Union +from typing import Dict, Union - -from ...auth import Authenticator, TfaAuthenticator +from ...auth import Authenticator from ...config import Config -from ...logging import log -from ...utils import soupify -from ..crawler import CrawlError, CrawlWarning from .async_helper import _iorepeat from .ilias_web_crawler import IliasWebCrawler, IliasWebCrawlerSection, ShibbolethLoginType from .shibboleth_login import ShibbolethLogin diff --git a/PFERD/crawl/ilias/shibboleth_login.py b/PFERD/crawl/ilias/shibboleth_login.py index 33a71bc..42a85ec 100644 --- a/PFERD/crawl/ilias/shibboleth_login.py +++ b/PFERD/crawl/ilias/shibboleth_login.py @@ -16,7 +16,7 @@ class ShibbolethLogin: """ def __init__( - self, ilias_url, authenticator: Authenticator, tfa_authenticator: Optional[Authenticator] + self, ilias_url: str, authenticator: Authenticator, tfa_authenticator: Optional[Authenticator] ) -> None: self._ilias_url = ilias_url self._auth = authenticator