Fix typo in notifications task

pull/92/head
Stijn De Clercq 2021-09-22 21:49:45 +02:00
parent 90dff3aa83
commit 11065637eb
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def run():
notifications[course] = [] notifications[course] = []
# Get the updated feed # Get the updated feed
feed = feedparser.parse(f"url{UFORA_TOKEN}") feed = feedparser.parse(f"{url}{UFORA_TOKEN}")
# Filter out old notifications # Filter out old notifications
feed = list(filter(lambda f: _parse_ids(f["id"])[0] not in notifications[course], feed.entries)) feed = list(filter(lambda f: _parse_ids(f["id"])[0] not in notifications[course], feed.entries))