From 5190110ffcafa8b40f9360b0d3d58cf3b44d8dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Norh=C3=B8j?= Date: Fri, 23 Sep 2022 14:00:07 +0200 Subject: [PATCH] Update lectio.py --- lectio/lectio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectio/lectio.py b/lectio/lectio.py index f2a1389..cbd68c5 100644 --- a/lectio/lectio.py +++ b/lectio/lectio.py @@ -216,7 +216,7 @@ def get_schedule_for_student(self, elevid: int, start_date: datetime, end_date: href = a.attrs.get('href') if href is not None: - module.url = f"https://www.lectio.dk{a.attrs.get('href')}" + module.url = f"https://www.lectio.dk{href}" schedule.append(module) return schedule