From 944bc5084e2db175ef63e156f301be96c4086020 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Fri, 17 Feb 2023 21:17:38 +0100 Subject: [PATCH] small fix to stats crc check --- tnc/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tnc/stats.py b/tnc/stats.py index 6499a9c1..96338da8 100644 --- a/tnc/stats.py +++ b/tnc/stats.py @@ -22,7 +22,7 @@ class stats(): self.explorer_url = "https://api.freedata.app/stats.php" def push(self, frame_nack_counter, status, duration): - crcerror = status in ["crc_error"] + crcerror = status in ["crc_error", "wrong_crc"] # get avg snr try: snr_raw = [item["snr"] for item in static.SPEED_LIST]