From 04e5df4bb81fb634fd3ef425e36d6909ea875a69 Mon Sep 17 00:00:00 2001 From: PinieP <59698589+PinieP@users.noreply.github.com> Date: Sat, 2 Nov 2024 20:26:02 +0100 Subject: [PATCH] Update PFERD/crawl/ilias/ilias_web_crawler.py Co-authored-by: I-Al-Istannen --- PFERD/crawl/ilias/ilias_web_crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/crawl/ilias/ilias_web_crawler.py b/PFERD/crawl/ilias/ilias_web_crawler.py index 06fc0b5..ac14dc7 100644 --- a/PFERD/crawl/ilias/ilias_web_crawler.py +++ b/PFERD/crawl/ilias/ilias_web_crawler.py @@ -45,7 +45,7 @@ class IliasWebCrawlerSection(HttpCrawlerSection): return base_url - def login(self) -> Union[ShibbolethLoginType, LocalLoginType]: + def login(self) -> Union[Literal["shibboleth"], LocalLoginType]: login_type = self.s.get("login_type") if not login_type: self.missing_value("login_type")