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