mirror of
https://github.com/stijndcl/didier.git
synced 2026-06-29 17:39:57 +02:00
Compare commits
2 commits
298a1e13d6
...
7ab72aabfd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ab72aabfd | ||
|
|
11065637eb |
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue