forked from OpenSDV/Linux_Kernel_map4vehicle
*popen
This commit is contained in:
parent
bb32eaa711
commit
bd9e324f6c
|
@ -44,7 +44,8 @@ def log(*args, **kwargs):
|
||||||
|
|
||||||
|
|
||||||
def popen(p):
|
def popen(p):
|
||||||
return [str(a) for a in subprocess.check_output(p, shell=True).splitlines()]
|
return [a.decode('utf-8') for a in subprocess.check_output(p, shell=True)
|
||||||
|
.splitlines()]
|
||||||
|
|
||||||
|
|
||||||
def extract_referer(line):
|
def extract_referer(line):
|
||||||
|
|
Loading…
Reference in New Issue