mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Update LibreQoS.py
This commit is contained in:
parent
0dfc0fe0fe
commit
643bcba584
@ -27,7 +27,7 @@ def shell(command):
|
|||||||
commands = command.split(' ')
|
commands = command.split(' ')
|
||||||
proc = subprocess.Popen(commands, stdout=subprocess.PIPE)
|
proc = subprocess.Popen(commands, stdout=subprocess.PIPE)
|
||||||
for line in io.TextIOWrapper(proc.stdout, encoding="utf-8"): # or another encoding
|
for line in io.TextIOWrapper(proc.stdout, encoding="utf-8"): # or another encoding
|
||||||
logging.info(result)
|
logging.info(line)
|
||||||
else:
|
else:
|
||||||
logging.info(command)
|
logging.info(command)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user