diff --git a/fronius.py b/fronius.py index 1196a8f..d9ca125 100644 --- a/fronius.py +++ b/fronius.py @@ -31,8 +31,7 @@ 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) + total_produce = numerize.numerize(jsondata["Body"]["Data"]["Site"]["E_Total"], 2) # noqa: E501 print("Total:", total_produce, "Wh") except HTTPError as http_err: