Skip to content

Commit

Permalink
fix for check on number of cols
Browse files Browse the repository at this point in the history
  • Loading branch information
myTselection committed Dec 25, 2023
1 parent cbf6597 commit 9b5c4ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/carbu_com/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/myTselection/carbu_com/issues",
"requirements": ["bs4","requests","ratelimit"],
"version": "9.0.0"
"version": "9.0.1"
}
2 changes: 1 addition & 1 deletion custom_components/carbu_com/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def table_to_json(table):
if len(cols) > 0:
name = cols[0]
data[name] = cols[1]
if len(cols) > 1:
if len(cols) > 2:
data[name+"Next"] = cols[2]
return data

Expand Down

0 comments on commit 9b5c4ca

Please sign in to comment.