From 6c84eb39b0e75117e6b289e2dfbd0a8617bebf72 Mon Sep 17 00:00:00 2001 From: Mürsel Türk Date: Wed, 5 Oct 2022 14:13:05 +0200 Subject: Fix output --- inspect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inspect.py b/inspect.py index a6b6e34..5f1842f 100755 --- a/inspect.py +++ b/inspect.py @@ -121,7 +121,7 @@ unmount(image_mp) rmdir(image_mp) print({ - "os_name": os_info.get("name", ""), - "os_version": os_info.get("name", ""), + "name": os_info.get("name", ""), + "version": os_info.get("version", ""), "apps": apps }) -- cgit v1.2.3-55-g7522