From 54a446c43c2a9db10840e94147bf98fa626c64c0 Mon Sep 17 00:00:00 2001 From: be7a Date: Sat, 24 Apr 2021 16:21:48 +0200 Subject: [PATCH] await authentication in ilias crawler --- PFERD/ilias/crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/ilias/crawler.py b/PFERD/ilias/crawler.py index a43b430..8b7f17e 100644 --- a/PFERD/ilias/crawler.py +++ b/PFERD/ilias/crawler.py @@ -689,7 +689,7 @@ class IliasCrawler: LOGGER.info("Not authenticated, changing that...") - self._authenticator.authenticate(self._client) + await self._authenticator.authenticate(self._client) return await self._get_page(url, params, retry_count + 1)