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")