From bf623056ce18cd94b17e7e62f05bd54ca0f2b194 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Thu, 14 Dec 2023 19:36:31 -0500 Subject: small fix --- utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils.py b/utils.py index 5dbd98c..968fa9e 100644 --- a/utils.py +++ b/utils.py @@ -30,8 +30,6 @@ def frequencies_to_bytes(frequencies, expected_freqs): for i in range(len(frequencies)): # clamp the range around the frequency to the frequency if expected_freqs[i] - plus_minus <= freq < expected_freqs[i] + plus_minus: - if byte_list[i] == 1: - return None # bad data, return nullish list byte_list[i] = 1 return byte_list -- cgit v1.2.3-70-g09d2