fixing issue #3 - webhook

This commit is contained in:
Data-Monkey
2023-06-04 13:45:48 +10:00
parent 969cae0343
commit ec705df38b

View File

@@ -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()