From 11065637eb74c96c17a9f7699e5541002859d4d4 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Wed, 22 Sep 2021 21:49:45 +0200 Subject: [PATCH] Fix typo in notifications task --- functions/ufora_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/ufora_notifications.py b/functions/ufora_notifications.py index 05dac44..f475e7d 100644 --- a/functions/ufora_notifications.py +++ b/functions/ufora_notifications.py @@ -43,7 +43,7 @@ def run(): notifications[course] = [] # Get the updated feed - feed = feedparser.parse(f"url{UFORA_TOKEN}") + feed = feedparser.parse(f"{url}{UFORA_TOKEN}") # Filter out old notifications feed = list(filter(lambda f: _parse_ids(f["id"])[0] not in notifications[course], feed.entries))