Skip to content
Snippets Groups Projects
Commit 5bfa760d authored by anoy's avatar anoy
Browse files

workaround for batctl -m warning; refs #8

parent 16b5467b
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import sys ...@@ -6,7 +6,7 @@ import sys
def call(cmdnargs): def call(cmdnargs):
try: try:
output = subprocess.check_output(cmdnargs, stderr=subprocess.STDOUT) output = subprocess.check_output(cmdnargs, stderr=None)
lines = output.splitlines() lines = output.splitlines()
lines = [line.decode('utf-8') for line in lines] lines = [line.decode('utf-8') for line in lines]
except subprocess.CalledProcessError as err: except subprocess.CalledProcessError as err:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment