Merge pull request #92 from stijndcl/schedules_minors

Fix typo in notifications task
This commit is contained in:
Stijn De Clercq 2021-09-22 21:50:37 +02:00 committed by GitHub
commit 7ab72aabfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))