From dc0f14868fb45760b0052a612f6d3f1b8ef6f3a8 Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Wed, 1 May 2019 18:53:27 +0930 Subject: [PATCH] Small tweak to min decoder spacing logic. --- auto_rx/auto_rx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_rx/auto_rx.py b/auto_rx/auto_rx.py index c953c25..a488dea 100644 --- a/auto_rx/auto_rx.py +++ b/auto_rx/auto_rx.py @@ -199,7 +199,7 @@ def start_decoder(freq, sonde_type): for _key in autorx.task_list.keys(): # Iterate through the task list, and only attempt to compare with those that are a decoder task. # This is indicated by the task key being an integer (the sonde frequency). - if type(_key) == int: + if (type(_key) == int) or (type(_key) == float): # Extract the currently decoded sonde type from the currently running decoder. _decoding_sonde_type = autorx.task_list[_key]['task'].sonde_type