From d7bcea273bd7ea7af060c294ba7924d76992aba4 Mon Sep 17 00:00:00 2001 From: Jimmy Charnley Kromann Date: Thu, 15 Feb 2024 10:11:01 +0100 Subject: [PATCH] Clean up monitor, and testing copilot --- bin.deb.x/monitor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin.deb.x/monitor b/bin.deb.x/monitor index 685127e..8b1265d 100755 --- a/bin.deb.x/monitor +++ b/bin.deb.x/monitor @@ -3,6 +3,7 @@ import subprocess import copy + def shell(cmd, shell=False): if shell: @@ -18,7 +19,7 @@ def shell(cmd, shell=False): stdout=subprocess.PIPE, stderr=subprocess.PIPE) - output, err = p.communicate() + output, _ = p.communicate() return output.decode("utf-8")