From b36f182178cf7fa41b169b705eaf2364a1e29969 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 12 Jun 2021 14:00:09 +0200 Subject: [PATCH] important bugfix --- src/tmtccmd/pus_tm/service_3_housekeeping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmtccmd/pus_tm/service_3_housekeeping.py b/src/tmtccmd/pus_tm/service_3_housekeeping.py index 61b4b09d..5ef1351e 100644 --- a/src/tmtccmd/pus_tm/service_3_housekeeping.py +++ b/src/tmtccmd/pus_tm/service_3_housekeeping.py @@ -50,7 +50,7 @@ def __init__(self, byte_array: bytearray, custom_hk_handling: bool = False, self.custom_hk_handling = custom_hk_handling self.hk_structure_report_header_size = minimum_structure_report_header_size self._object_id_bytes = self._tm_data[0:4] - self._object_id = struct.unpack('!I', self.object_id_bytes)[0] + self._object_id = struct.unpack('!I', self._object_id_bytes)[0] self._set_id = struct.unpack('!I', self._tm_data[4:8])[0] self.specify_packet_info("Housekeeping Packet")