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")