From 8a397943d2db2ff204847200c82c5ba24c117b31 Mon Sep 17 00:00:00 2001 From: Gabriel Mariano Marcelino Date: Sun, 19 May 2024 01:31:04 -0300 Subject: [PATCH] Adding the satellite name to the log messages --- spacelab_decoder/spacelabdecoder.py | 4 ++-- spacelab_decoder/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spacelab_decoder/spacelabdecoder.py b/spacelab_decoder/spacelabdecoder.py index 405ed88..bf0c2d4 100644 --- a/spacelab_decoder/spacelabdecoder.py +++ b/spacelab_decoder/spacelabdecoder.py @@ -389,12 +389,12 @@ def _find_ngham_pkts(self, bitstream, s_word, link_name): if len(pl) == 0: if err == -1: packet_detected = False - self.write_log("Error decoding a " + link_name + " packet!") + self.write_log("Error decoding a " + link_name + " packet from " + _SATELLITES[self.combobox_satellite.get_active()] + "!") else: packet_detected = False tm_now = datetime.now() self.decoded_packets_index.append(self.textbuffer_pkt_data.create_mark(str(tm_now), self.textbuffer_pkt_data.get_end_iter(), True)) - self.write_log(link_name + " packet decoded!") + self.write_log(link_name + " packet from " + _SATELLITES[self.combobox_satellite.get_active()] + " decoded!") self._decode_packet(pl) byte_buf.clear() sync_word_buf.push(bool(bit)) diff --git a/spacelab_decoder/version.py b/spacelab_decoder/version.py index f91c8e7..1d4e198 100644 --- a/spacelab_decoder/version.py +++ b/spacelab_decoder/version.py @@ -24,7 +24,7 @@ __copyright__ = "Copyright The SpaceLab-Decoder Contributors" __credits__ = ["Gabriel Mariano Marcelino - PU5GMA"] __license__ = "GPLv3" -__version__ = "0.4.1" +__version__ = "0.4.2" __maintainer__ = "Gabriel Mariano Marcelino - PU5GMA" __email__ = "gabriel.mm8@gmail.com" __status__ = "Development"