Update PFERD/crawl/ilias/ilias_web_crawler.py

Co-authored-by: I-Al-Istannen <I-Al-Istannen@users.noreply.github.com>
This commit is contained in:
PinieP 2024-11-02 20:26:02 +01:00 committed by I-Al-Istannen
parent 1d3880f840
commit 04e5df4bb8

View file

@ -45,7 +45,7 @@ class IliasWebCrawlerSection(HttpCrawlerSection):
return base_url return base_url
def login(self) -> Union[ShibbolethLoginType, LocalLoginType]: def login(self) -> Union[Literal["shibboleth"], LocalLoginType]:
login_type = self.s.get("login_type") login_type = self.s.get("login_type")
if not login_type: if not login_type:
self.missing_value("login_type") self.missing_value("login_type")