From 1372f0a9968d35cceea4257f83f17a93328ce8d9 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Wed, 3 Mar 2021 18:16:23 +0100 Subject: [PATCH] Fix typo in urls --- data/embeds/ufora.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/embeds/ufora.py b/data/embeds/ufora.py index c02cbff..df52c83 100644 --- a/data/embeds/ufora.py +++ b/data/embeds/ufora.py @@ -33,7 +33,7 @@ class UforaNotification: if self._notif_id is None or self._course_id is None: return self._content["link"] - return "https://ufora.ugent.be/d2l/le/news/{0}/{1}/view?ou={0}".format(self._notif_id, self._course_id) + return "https://ufora.ugent.be/d2l/le/news/{0}/{1}/view?ou={0}".format(self._course_id, self._notif_id) def _find_ids(self, url: str): match = re.search(r"[0-9]+-[0-9]+$", url) @@ -54,6 +54,7 @@ class UforaNotification: return desc def _clean_content(self, text: str): + # Dict with HTML & markdown tags to replace html_table = { # CHARACTERS: "&": '&',