mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] keep backward compatibility
This commit is contained in:
parent
f9044ab3a3
commit
8b0295aa04
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def service_status(names=[]):
|
|||
|
||||
result[name] = {
|
||||
'status': str(status.get("SubState", "unknown")),
|
||||
'loaded': str(status.get("LoadState", "unknown")),
|
||||
'loaded': "enabled" if str(status.get("LoadState", "unknown")) == "loaded" else str(status.get("LoadState", "unknown")),
|
||||
'active': str(status.get("ActiveState", "unknown")),
|
||||
'active_at': {
|
||||
"timestamp": str(status.get("ActiveEnterTimestamp", "unknown")),
|
||||
|
|
Loading…
Add table
Reference in a new issue