From 1f138d8c161ff411c9ab7b7021a8939a93e91ddc Mon Sep 17 00:00:00 2001 From: mfloto <60036186+mfloto@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:13:25 +0200 Subject: [PATCH] fix: Remove debug --- dualis_notifier.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dualis_notifier.py b/dualis_notifier.py index 1023036..0e18423 100644 --- a/dualis_notifier.py +++ b/dualis_notifier.py @@ -56,17 +56,15 @@ def extract_data_from_html(raw_html) -> pd.DataFrame: def notify_server(name, hook_url) -> None: print("Server notification sim!") - """data = { - "username": "DUALIS" - } + data = {"username": "DUALIS"} data["embeds"] = [ { "description": f"Die Noten für {name} wurden veröffentlicht! \n Gehe zu https://dualis.dhbw.de/ um deine Note einzusehen", "title": name, - "url": "https://dualis.dhbw.de" + "url": "https://dualis.dhbw.de", } ] - requests.post(hook_url, json=data)""" + requests.post(hook_url, json=data) if __name__ == "__main__":