[snap] simplifying snapd check expression

This commit is contained in:
Vinícius Moreira
2019-12-23 16:02:47 -03:00
parent 3673494e64
commit ebab884a8a

View File

@@ -37,7 +37,7 @@ def is_snapd_running() -> bool:
socket = True
socket_running = running
return socket and socket_running and (not service or (service and service_running))
return socket and socket_running and (not service or service_running)
def app_str_to_json(app: str) -> dict: