From 62f94103731ef8ad9da5e94c3969294900afd35f Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 12 Oct 2022 14:50:38 +0200 Subject: [PATCH] it wasn't working ? --- V4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V4.py b/V4.py index 0bab1e1..21b3fea 100755 --- a/V4.py +++ b/V4.py @@ -87,8 +87,8 @@ CREDENTIALS_PATH = config["PATH"]["logpath"] # discord configuration DISCORD_SUCCESS_LINK = config["DISCORD"]["successlink"] DISCORD_ERROR_LINK = config["DISCORD"]["errorlink"] -DISCORD_ENABLED_ERROR = config["DISCORD"]["DiscordErrorEnabled"] -DISCORD_ENABLED_SUCCESS = config["DISCORD"]["DiscordSuccessEnabled"] +DISCORD_ENABLED_ERROR = config["DISCORD"]["DiscordErrorEnabled"] == "True" +DISCORD_ENABLED_SUCCESS = config["DISCORD"]["DiscordSuccessEnabled"]== "True" if DISCORD_ENABLED_ERROR: webhookFailure = Webhook.from_url(DISCORD_ERROR_LINK, adapter=RequestsWebhookAdapter())