mirror of https://github.com/stijndcl/didier
Compare commits
No commits in common. "7ab72aabfd03e768781e1252e97c896bab8ac303" and "298a1e13d65fe56e5a7941b462706f66d26f6b1e" have entirely different histories.
7ab72aabfd
...
298a1e13d6
|
|
@ -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…
Reference in New Issue