mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Closes: #2022. - Differently URL based on version of Cockpit used. - Lazily evaluate when necessary. - Cache the result. [sunil: Use subprocess.run() instead of getoutput() for security] [sunil: Use long form arguments in command invocation for readability] [sunil: Perform isort] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>