Skip to content

Commit

Permalink
#68: some cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
Gentleman1983 committed Mar 8, 2024
1 parent cfa1451 commit 68a4aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ginlong_solis_api_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def write_to_influx_db(inverter_data, inverter_month, inverter_year, inverter_al
dict_boolean = convert_dict_details_to_boolean(dict_detail,changelist_boolean)
dict_fields.update(dict_boolean)

#remove empty battery list
# remove empty battery list
if dict_fields["batteryList"].len() == 0:
dict_fields.pop("batteryList")

Expand Down

0 comments on commit 68a4aac

Please sign in to comment.