Skip to content

Commit

Permalink
Enforce data type
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored Feb 12, 2025
1 parent e878d2c commit 53c5a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grdf_exporter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def fetch():
.replace(year=today.year)
)
.tag("year", -year)
.field("energy", conso["energie"])
.field("energy", float(conso["energie"]))
)

except Exception as e:
Expand Down

0 comments on commit 53c5a73

Please sign in to comment.