From 5bfa760d35c887d77aa61fa899466a2b741f84ed Mon Sep 17 00:00:00 2001 From: anoy <anoymouserver@gmail.com> Date: Wed, 16 Oct 2019 22:12:02 +0200 Subject: [PATCH] workaround for batctl -m warning; refs #8 --- lib/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helper.py b/lib/helper.py index 2645985..b1d83b3 100644 --- a/lib/helper.py +++ b/lib/helper.py @@ -6,7 +6,7 @@ import sys def call(cmdnargs): try: - output = subprocess.check_output(cmdnargs, stderr=subprocess.STDOUT) + output = subprocess.check_output(cmdnargs, stderr=None) lines = output.splitlines() lines = [line.decode('utf-8') for line in lines] except subprocess.CalledProcessError as err: -- GitLab