From 36fcca08de067da8008a4e98d24373ba462d2242 Mon Sep 17 00:00:00 2001 From: Sarabveer Singh Date: Sat, 30 Mar 2024 12:41:53 -0400 Subject: [PATCH] fix(sb8200): filter out "Hz" in upstream width --- src/arris_stats_sb8200.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arris_stats_sb8200.py b/src/arris_stats_sb8200.py index 9dcd323..1bce1c3 100644 --- a/src/arris_stats_sb8200.py +++ b/src/arris_stats_sb8200.py @@ -180,7 +180,7 @@ def parse_html(html): channel_id = table_row.find_all('td')[1].text.strip() channel_type = table_row.find_all('td')[3].text.replace(" Upstream", "").replace("OFDM", "OFDMA").strip() frequency = table_row.find_all('td')[4].text.replace(" Hz", "").strip() - width = table_row.find_all('td')[5].text.strip() + width = table_row.find_all('td')[5].text.replace(" Hz", "").strip() power = table_row.find_all('td')[6].text.replace(" dBmV", "").strip() stats['upstream'].append({