Skip to content

Commit

Permalink
Update nut-influxdbv2-exporter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsqp authored Apr 18, 2021
1 parent 05a2773 commit 39f4921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nut-influxdbv2-exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def construct_object(data, remove_keys, host):
w = v.split("FW:", 2)
if v == "InternalBattery-0":
tags["model"]="InternalBattery"
else
else:
tags["model"]=w[0].strip()
else:
if k in remove_keys:
Expand Down

0 comments on commit 39f4921

Please sign in to comment.