Skip to content

Commit

Permalink
#13: some clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Gentleman1983 committed Mar 10, 2024
1 parent 5ba2fe7 commit e8d671c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ginlong_solis_api_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def prettify_json(input_json) -> str:
return json.dumps(json.loads(input_json), indent=2)

def calculate_unit_multiplicator(expected_unit, inverter_unit):
fb_inv=inverter_unit[1]
fb_exp=expected_unit[1]
fb_inv = inverter_unit[1]
fb_exp = expected_unit[1]
multiplicator = calculate_factor(fb_inv) / calculate_factor(fb_exp)
return multiplicator

Expand Down

0 comments on commit e8d671c

Please sign in to comment.