Skip to content

Commit

Permalink
minor reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrocan committed Sep 9, 2023
1 parent b686b11 commit 848f8bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fronius.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ def check_values():
year = numerize.numerize(jsondata["Body"]["Data"]["Site"]["E_Year"], 2)
print("Year:", year, "Wh")

total_produce = numerize.numerize(jsondata["Body"]["Data"]["Site"]["E_Total"], 2) # noqa: E501
total_produce = numerize.numerize(
jsondata["Body"]["Data"]["Site"]["E_Total"], 2
) # noqa: E501
print("Total:", total_produce, "Wh")

except HTTPError as http_err:
Expand Down

0 comments on commit 848f8bd

Please sign in to comment.