Skip to content

Commit

Permalink
fix: Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mfloto committed Sep 16, 2024
1 parent 4ff4358 commit 1f138d8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions dualis_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down

0 comments on commit 1f138d8

Please sign in to comment.