From a6747f9879ea3f1e617b8b33c65a3abca7188578 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Mon, 21 Oct 2024 07:40:58 +0200 Subject: [PATCH] fix: [main] fix ios_version fetching --- src/sysdiagnose/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysdiagnose/__init__.py b/src/sysdiagnose/__init__.py index fae3cda..a996203 100644 --- a/src/sysdiagnose/__init__.py +++ b/src/sysdiagnose/__init__.py @@ -145,7 +145,7 @@ def create_case(self, sysdiagnose_file: str, force: bool = False, case_id: bool try: case['serial_number'] = remotectl_dumpstate_json['Local device']['Properties']['SerialNumber'] case['unique_device_id'] = remotectl_dumpstate_json['Local device']['Properties']['UniqueDeviceID'] - case['version'] = remotectl_dumpstate_json['Local device']['Properties']['OSVersion'] + case['ios_version'] = remotectl_dumpstate_json['Local device']['Properties']['OSVersion'] except (KeyError, TypeError) as e: print(f"WARNING: Could not parse remotectl_dumpstate, and therefore extract serial numbers. Error {e}")