Skip to content

Commit

Permalink
fix(sb8200): filter out "Hz" in upstream width
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabveer committed Mar 30, 2024
1 parent 0f9bcd6 commit 36fcca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arris_stats_sb8200.py
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 36fcca0

Please sign in to comment.