From 13af3c562c46f6622d791686a5ccf4543852e7b0 Mon Sep 17 00:00:00 2001 From: Justus Grunow Date: Wed, 7 May 2025 21:58:40 -0400 Subject: [PATCH] Decode byte string to string --- plugins/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ping.py b/plugins/ping.py index 59d81ee..38d92fc 100644 --- a/plugins/ping.py +++ b/plugins/ping.py @@ -7,7 +7,7 @@ def ping(host): if response.returncode == 0: return [True, ""] elif response.stderr: - return [False, response.stderr] + return [False, response.stderr.decode("UTF-8")] else: return [False, ""]