mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
services.py, python3: missing decode() in subprocess output fetch
This commit is contained in:
parent
45b55d1050
commit
4f44df388e
1 changed files with 1 additions and 0 deletions
|
@ -465,6 +465,7 @@ def _get_and_format_service_status(service, infos):
|
|||
if p.returncode == 0:
|
||||
output["configuration"] = "valid"
|
||||
else:
|
||||
out = out.decode()
|
||||
output["configuration"] = "broken"
|
||||
output["configuration-details"] = out.strip().split("\n")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue