From 54b58c0021b3fe40dd2ba0ea6f30ebb5f83224f3 Mon Sep 17 00:00:00 2001 From: FalsePhilosopher Date: Fri, 15 Jul 2022 11:17:18 -0600 Subject: [PATCH] wetox updated draw_subghz --- wetox_scripts/draw_subghz.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wetox_scripts/draw_subghz.py b/wetox_scripts/draw_subghz.py index 035aa8fa..35c3e751 100644 --- a/wetox_scripts/draw_subghz.py +++ b/wetox_scripts/draw_subghz.py @@ -27,10 +27,7 @@ for line in lines: # Split the data into a list of individual timings timings = [] for line in data: - timings.append(line.split()) - -# Convert the list of lists into a single list of numbers -timings = [int(x) for x in timings[0]] + timings.extend((int(x) for x in line.split())) # Convert timings to a stream of 0s and 1s stream = []