Skip to content
Snippets Groups Projects
Commit 566a6f2d authored by CARDILE VINCENT's avatar CARDILE VINCENT
Browse files

GROS BOUFON

parent 4c8b27b1
Branches
No related merge requests found
Pipeline #367018 failed with stages
in 29 seconds
......@@ -10,7 +10,7 @@ if not DISCORD_WEBHOOK_URL:
print("ERREUR: L'URL du webhook Discord n'est pas définie dans l'environnement.")
exit(1)
def notificationSender(url, message)
def notificationSender(url, message):
headers = {
"Content-Type": "application/json"
}
......@@ -57,6 +57,7 @@ disp rdp_events
f"Journaux incriminents"
f"{rdp_events2}"
)
notificationSender(DISCORD_WEBHOOK_URL, discord_message)
i = 0
for x in rdp_events2:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment