Skip to content

Commit

Permalink
Fix pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed May 21, 2024
1 parent b127a2f commit 91205e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/omnikinverter/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def from_js(data: str) -> Inverter:
"""

def get_value(position: int) -> Any:
energy_value: float
try:
if data.find("webData") != -1:
matches = (
Expand Down

0 comments on commit 91205e0

Please sign in to comment.