From ec705df38b68e540b80371451bd1219e09833885 Mon Sep 17 00:00:00 2001 From: Data-Monkey Date: Sun, 4 Jun 2023 13:45:48 +1000 Subject: [PATCH] fixing issue #3 - webhook --- pialert/publishers/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pialert/publishers/webhook.py b/pialert/publishers/webhook.py index fc16a9c0..d575dfb5 100644 --- a/pialert/publishers/webhook.py +++ b/pialert/publishers/webhook.py @@ -51,7 +51,7 @@ def send (msg: noti_struc): # execute CURL call try: # try runnning a subprocess - mylog('debug', '[send_webhook] curlParams: '+ curlParams) + mylog('debug', ['[send_webhook] curlParams: ', curlParams]) p = subprocess.Popen(curlParams, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) stdout, stderr = p.communicate()