mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
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:
parent
1d3880f840
commit
04e5df4bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue